Unable to run the REST API URL on the browser
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2024 02:14 PM
Hello Everyone,
I'm Unable to run the REST API URL on the browser, When i run this it pop up a login page but once i entered the credentials it is still redirecting to the login pop up. The user is already having the REST API roles.
Could you please guide me what could be the issue.
Kind Regards,
Arun

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2024 02:39 PM
Not sure if it will run on a browser.
You can use postman to test it or the REST API Explorer if you want to test using ServiceNow
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2024 02:53 PM
Hi, testing in a PDI I do not experience the issue described in your post, but can reproduce it in an instance that utilizes SSO, and for SSO I would think that this was correct\expected behavior as the user PW is not stored in the instance and authentication is completed externally.
Also, the URL you have shared appears to contain HTML encoding eg %3D which when I test results in a failed query, and shows a page containing only <response/>