PW is the web's leading resource for everything about open APIs and mashups. Learn more: take a tour »
|Used this? Share your thoughts... Please login to comment.|
12 Nov 2013
balramTiwari says:As mentioned in this link https://data.usajobs.gov/Rest about the usage of API, I have seen different behaviors.
Here it is :
1) The default response is XML, its not jSON as mentioned in the link.
Within the Request Header, you also need to identify which format you desire. JSON is the default value if not specified:
2) As mentioned in the link as "The REST API does not require authentication and is open to all consumers.", I do see an Authorization error while trying to invoke a call via a mobile app which is underdevelopment.
3) When I am directly using the link in browser, I am getting the response in XML format like for this call
but when I am invoking this call from MObile ap, its saying Authorization Error.
Kindly let me know,how can I proceed with developing my app using this Services & so many errors.