curl HTTP Error 400. The request is badly formed.

Don’t panic in case of data tilt, teach you to easily obtain the slope of table tilt>>>

problem description

Here you input the quoted text. Two days ago, you did the docking of a shopping mall. In the process of data transmission, you always encounter the problem of title, so you can find the answer to this problem on the Internet, but there is no solution. Later, we found that URLEncode had no solution to the whole URL encoding, and it was successfully solved after encoding the parameter URLEncode

problem solving

For this problem, we find that it is mainly caused by these two reasons: 1. Space; 2. Close curlopt_ POST。 But after trying, they didn’t solve it. Referring to this article, I found that I didn’t master the basic knowledge. I didn’t know the difference between get and post, and explained the problem of URLEncode and garbled code.

Similar Posts: