PHP cURL Error 52

Hi Everyone,

I;m posting XML to an API. Eveythign works fine unitl I add more data to it. I’ve gotten to the poitn where I can replicate the problem.

I have two identical sets of XML data that id urlencoded to post via curl. Except in one set I added an extra character I get error 52 - Curl error: Empty reply from server.

Working
raw XML length = 2549
encoded XML length = 3891

Not working
raw XML length = 2550
encoded XML length = 3891

I’ve confirmed with the API webservice (Zoho CRM) that there is no max length. Right now I;m still developing on my local machine.

Any suggestions? Is there a setting in php.ini perhaps?

Any help would be greatly appreciated.

Sponsor our Newsletter | Privacy Policy | Terms of Service