Not able to fetch Incident on POSTMAN.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2018 04:35 AM
I am trying to authenticate the ServiceNow using basic authentication on POSTMAN using the following GET request api :
https://XXXXXXX.service-now.com/api/now/table/incident/sysparam_limit=1
I have set the authorization and added that in Header.
I get the following response with status code 200 OK :
Unexpected '}'
Can someone please help me what am I missing here?
- Labels:
-
Integrations

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2018 02:46 PM
Hi Avinash,
Please share a screenshot of the call.
Priyanka

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2018 04:23 PM
Hello Avinash,
Please do the following changes and let me know if you are still facing the issues.
https://XXXXXXX.service-now.com/api/now/table/incident/sysparam_limit=1
HERE sysparm_limit is the query parameter and i can see you have added it as the path parameter above
so after incident replace "/sysparm_limit=1" to "?sysparm_limit=1"
You can set up the basic authorization details in the Authorization tab as shown below
Query params you can add it in the Params tab on POSTMAN as shown below (which automatically appends with?key=value) to the URL
Please find the below screenshot:
The header information will get autogenerated post doing the above changes
Result:
Please try performing your test queries on REST API EXPLORER which is inbuilt into the interface to check how the endpoints with any query parameter work and behave.
Hope this helps.
Mark this answer as correct if it resolves your query and also to remove this thread from the unanswered category.
Thanks,
SIVA