HTTP Post Content-Length

Posted by sunstarter on 23-Jul-2015 16:03

Hi!

I have been trying to send data to an external service via HTTP Post trigger. I did some debugging and realized the content-length header was not being sent, resulting in an error. Since this is a dynamic function, the content-length is always going to vary.

How do I include the appropriate content-length header?

Thanks for your help.

Posted by Anoop Premachandran on 24-Jul-2015 01:02

Have you checked the flag "Use chunked transfer encoding" ? Try un-checking it. The other option is to use Object Script Trigger and use Server Side HTTP APIs.

All Replies

Posted by Anoop Premachandran on 24-Jul-2015 01:02

Have you checked the flag "Use chunked transfer encoding" ? Try un-checking it. The other option is to use Object Script Trigger and use Server Side HTTP APIs.

This thread is closed