What is the problem with this code? After searching for a long time, I don't know where the problem is. The public account has always been unable to provide services.
What is the problem with this code? After searching for a long time, I don't know where the problem is. The public account has always been unable to provide services.
Reply content:
What is the problem with this code? After searching for a long time, I don't know where the problem is. The public account has always been unable to provide services.
Urlencode uses GBK encoding. You use UTF-8 encoding for transcoding.
To be honest, what do I mean when I see such a problem?
What does image placement mean? Do you need to name one by one? Speechless.
The first thing you encounter is self-debugging. You can see what the returned results are. Okay, you will ask, WTF, how do you want me to debug it.
Online debugging tools are provided. If you do not use them, you can use postman, fiddler, or other tools that can simulate http requests to see what results your URL returns.
I wrote a DEMO for you. The code is already on github.
:
Do you write this interface yourself or use APIstore? It seems that there is no problem at first. You can test this interface locally and put it on the server.