Hey, guys -
I'm attempting to integrate my API with Twilio such that I can send a SMS to Twilio and get an SMS in return. To do that, Twilio sends a HTTP request to an endpoint where I generate a formatted response that it understands. What I'm finding is that, by the time a Twilio request hits the API, the `request.body` is undefined.
In every other way, the API is and has been running just fine, but it always returns a 400 in response to a Twilio request. I've been messing with this for a couple of days now and I _think_ I've tracked it down to the fact that Twilio's request is sent with a `Content-Type: application/x-www-form-urlencoded` header.
This content type is not in the server.acceptable array that I pass to restify.acceptParser() and simply pushing that value onto the acceptable array changes nothing (not entirely unexpected).
I guess my question is simply this:
What, if anything, can I do to get Restify to understand, parse and properly handle an incoming request with this content-type?
Thanks.