Rest API Integration endpoint is working in postman not in servicenow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2020 02:13 AM
Post operation endpoint is working in postman without mid server & authentication but not working in servicenow.
I am getting below error message: Method failed: (/fw/index.php) with code: 404
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2020 02:18 AM
Code 404 generally describes Page not found error. Can you elaborate on your query more?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2020 02:21 AM
But with same post endpoint i can able to getting correct response in postman.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2020 05:04 AM
Potentially there can be differences between the computer the MID Server sits on and the computer where Postman is being used if they are not the same computer.
If the computers are different, it wouldn't be fair to assume that just because it's reachable when using Postman it's going to be reachable from the MID-Server.
I believe in most cases an individual's computer is going to have different network capabilities than servers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2020 02:20 AM
Hi Gokul,
What type of endpoint it is?
Is it http POST method?
Did you configure in similar manner in ServiceNow? Can you share the screenshot?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader