[asterisk-app-dev] POST variables

Corey Edwards tensai at zmonkey.org
Fri Oct 18 17:07:26 CDT 2013


I'm having issues getting ARI to recognize my parameters. I think it
boils down to how they are sent in HTTP.

Sending parameters in the URL works, as such:

POST /ari/bridges/e0fba6be-24c7-419d-8c8b-3d45914efb78/addChannel?channel=1382132159.0
HTTP/1.1.

But putting them in the request body does not:

POST /ari/bridges/e0fba6be-24c7-419d-8c8b-3d45914efb78/addChannel HTTP/1.1.
Content-Type: application/x-www-form-urlencoded.
.
channel=1382132159.0

Am I correct, or did I make a mistake somewhere? Is that by design?

Corey



More information about the asterisk-app-dev mailing list