
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2020 02:45 AM
In my attempts to integrate with a third party application, I need to set up a scripted REST API to handle a webhook. I've got no problems implementing the scripted REST API's, my issue is when registering the webhook URL with the third party service they send a HEAD method request before allowing the webhook to be created. Scripted REST API's in ServiceNow only allow GET, POST, PUSH, PATCH and DELETE.
I've tried adding a new choice to the HTTP method but this still returns a 405 error (Method not allowed).
Interestingly, the response body is also empty. If I test the Scripted REST API with a GET method (which is not implemented) I get a body with the not implemented error in it. So ServiceNow appears to be completely ignoring HEAD requests.
Solved! Go to Solution.
- Labels:
-
Now Platform App Engine

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2020 08:03 AM
Looks like all I needed to do was wait for Paris....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2020 08:19 AM
Thanks for the update.
if you think there is any response that helps you please mark that helpful & correct so that this thread can be closed.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader