Freshdesk API not working with chunked Transfer-Encoding
When I attempt to upload an attachment to Freshdesk with chunked Transfer-Encoding, the request fails. It appears that you are running an outdated version of the nginx proxy that does not support chunked Transfer-Encoding (http://serverfault.com/questions/164220/is-there-a-way-to-avoid-nginx-411-content-length-required-errors).
curl -u email@example.com:password --header "Transfer-Encoding: chunked" -F "helpdesk_note[attachments][resource]=@/path/to/file.jpg" -F "helpdesk_note[body]=Note content" -F "helpdesk_note[private]=false" -X POST https://domain.freshdesk.com/helpdesk/tickets/[id]/conversations/note.json
<head><title>411 Length Required</title></head>
<center><h1>411 Length Required</h1></center>
Our sincere apologies for missing out on updating this thread. We see that the issue is no longer reproducible and hence closing out this thread . Should you have any questions, please drop us a note here and we'll act on it straightaway.