CURL Post data volume is too large to receive information from the server

Source: Internet
Author: User
1. Today, when the project encountered, the interface post data, the post data volume is too large, resulting in not receiving the returned information.

2. Carried out a Baidu, found to set a header information, after trying to use no eggs , do not understand the TP frame problem?
Just this: curl_setopt ($ch, Curlopt_httpheader, Array (' Expect: '));

3. Is there any other way to curl post data when it's too big?

Reply content:

1. Today, when the project encountered, the interface post data, the post data volume is too large, resulting in not receiving the returned information.

2. Carried out a Baidu, found to set a header information, after trying to use no eggs , do not understand the TP frame problem?
Just this: curl_setopt ($ch, Curlopt_httpheader, Array (' Expect: '));

3. Is there any other way to curl post data when it's too big?

First Use the Interface debugging tool test interface, Google's postman or Mac Paw, set the parameters, post, to see if there is a return data;
The framework does not affect the curl access interface;
Check the code to make sure that curl is the data passed by post

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.