Has anyone used the REST "DELETE' method for outbound REST Messaging?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2019 06:46 AM
The field 'Content' was not visible on the form but I updated the UI Policy to show the content so i can use the JSON body. However, when I tried to test my DELETE method and hardcoding the values on my JSON body I get an error:
{"errors":{"":["A non-empty request body is required."]},"title":"One or more validation errors occurred.","status":400,"traceId":"|f7ba0e33b142d84a91d2e7f57a7cafb5.40b1f8fb_"}.
If I run my DELETE in Postman it works.
- Labels:
-
Integrations

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2019 09:45 AM
ServiceNow responded that DELETE does not allow the ability to pass data in the request body. You can call the DELETE method. You can pass on the URL path.
Luckily for us, my alternative was to call a stored procedure using Orchestration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2020 09:42 PM
I tried using this option also and had no success. I have submitted an enhancement request for this here. Please up-vote.