Question about Curl and Content-Type

Hi. I’m using curl in my lua scripts as follows:

result = channel.CURL(,):get() or “”

Is there a way to set the Content-Type header in asterisk to “text/xml” instead of “application/x-www-form-urlencoded”? I can’t seem to find any mention of it in the documentation.

Since it seems like this won’t work from within Asterisk, I ended up writing an AGI to sit between Asterisk and the external service.