Discussions
Webhook POST Response
about 6 years ago by Brian
I am getting a response of 204 No Content. This is the Notification that is noted on the docs. But in my Ngrok which I use for getting responses, I am getting a 204 No Content
POST /api/values HTTP/1.1
Host: localhost:50754
User-Agent: ServiceM8-Platform/1.0
Content-Length: 233
Accept: /
Content-Type: application/x-www-form-urlencoded
X-Forwarded-For: 35.176.170.33
X-Original-Host: d9193544.ngrok.io
{"object":"JOB","entry":[{"uuid":"d4798ca6-5022-4527-b4ac-b6c7e822490b","changed_fields":["status"],"time":"2018-09-26 10:46:39"}],"resource_url":"https://api.servicem8.com/api_1.0/JOB/d4798ca6-5022-4527-b4ac-b6c7e822490b.json"}
Am I in a right track?