Reputation: 13
On my Twilio number I have a Request URL configured for Messaging. The problem is I need the HTTP Post from Twilio in json but there doesn't seem to be a way to configure it.
Upvotes: 1
Views: 794
Reputation: 21720
Hi Twilio developer evangelist here.
Unfortunately there will be no way for you to configure Twilio to post a JSON request to your server. What you can do however is post to a different server that will take that request, turn it into JSON and then make a request to your original endpoint with a JSON packet.
That's obviously if you can't just convert the POST request into JSON on your original server, which is preferable.
Let me know if you have any more questions.
Upvotes: 1