Home > Article > Backend Development > Solution to the problem when php curl post
Send the data to be submitted in the form of an array through POST, and this will cause CURL to use the "wrong" encoding "multipart/form-data", which The effect is equivalent to directly completing the operation with a form like " |