Dashboard > Directory > USAJOBS API Profile

Welcome to ProgrammableWebclose

PW is the web's leading resource for everything about open APIs and mashups.   Learn more: take a tour »

Like job search? PW has:

USAJOBS Comments

 Used this? Share your thoughts... Please login to comment.

12 Nov 2013

balramTiwari 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.

Request Header
Host: data.usajobs.gov
Within the Request Header, you also need to identify which format you desire. JSON is the default value if not specified:
Content-type: application/json
Content-type: application/xml

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
https://data.usajobs.gov/api/jobs?series=2210
https://data.usajobs.gov/api/jobs?Title=Manager
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.
10183 of 11293 APIs

Follow the PW team on Twitter

ProgrammableWeb
APIs, mashups and code. Because the world's your programmable oyster.

John Musser
Founder, ProgrammableWeb

Adam DuVander
Executive Editor, ProgrammableWeb. Author, Map Scripting 101. Lover, APIs.