I read in the CS REST API development guide that it's possible to use a REST client add-on with your browser. I've been trying out REST Easy for Firefox with little success. What are others in the OT Development community using when they want to test out an API without building a full-on Javascript client?
At this point, using the REST Easy API, I successfully authenticated, and added OTCSTICKET as a header with the payload from the response from the auth POST. At first, I wasn't seeing OTCSTICKET in the headers within builder, but in builder they show up as HTTP_OTCSTICKET, i.e.
HTTP_OTCSTICKET = 'JjFrL24sKa1\/ORLOoFKmOVwDlYBu+AU4M+qB5yVgCLo='
It shows up with the correct name in fiddler though. The error I'm getting back is
LibOTSecBuiltins: Decryption failed - data_len: 8 crypt_len: 0
Check HTTP Referer has been disabled for the RestAPI since it does not make sense.
Dispatcher error: Authentication Required
Since this is happening in a built-in, I doubt I can debug what is coming back. Here is the string I'm trying to decode from the API. It looks like a base64-encoded string and I've used this before in sample applications. Also, I don't see an HTTP Referer in Fiddler. Any suggestions?
-Hugh