Hi,
I am hoping to call a RESTful API from Oscript, and I'm trying to avoid if possible using JavaObjects. Not that I'm intimidated by them, but I'm trying to limit the number of moving parts. I noticed that Oscript has a Web dropin defined, which seems to have what I'm looking for, and even provides for pulling a file from a RESTful service. Using the Web dropin, can someone explain what I would use for the context parameter besides a File or FileStream, if, say I was doing a call to https://someserver/api/authenticate to get back an authentication token, and how I would set it up as a POST (i.e. imagine I'm calling the OT REST API, although no, that's not what I'm doing)?
If this is seriously more trouble than it's worth, I'll go the JavaObject route, but then I'd ask how I'd return a file stream that was returned in a download request to the calling application to be streamed out to the user?
Thanks in advance
-Hugh