Home > Article > Backend Development > How to set up and parse the code of OSS's pc_web direct callback end
The thing is like this, I want to embed Alibaba Cloud's OSS web direct transfer function in my system, which means to transfer files directly to OSS without having to transfer them through my own server. According to the official document Web side direct transfer practice - —Server-side signature direct transmission and setting upload callback. I transplanted the official demo to my own system (using the Yii framework). After passing the test, I successfully uploaded the file to the OSS side. This also proves that I have everything else. There was no problem with the configuration, but one day later, when I used it again, I found that the following error was reportedIn fact, the reason was that my callback end was not processed well at the beginning. I directly used the address in the demo. There was an error in accessing the latter address. I discovered this problem. I looked at the document again and found that there was no detailed explanation of the callback end processing. It just gave a callback.php file and attached it. This sentence made me confused. Forgive me for being a newbie. I hope someone with experience can tell me what to do when I get here? grateful! !
Reply content:In fact, the reason was that my callback end was not processed well at the beginning. I directly used the address in the demo. There was an error in accessing the latter address. I discovered this problem. I looked at the document again and found that there was no detailed explanation of the callback end processing. It just gave a callback.php file and attached it. This sentence made me confused. Forgive me for being a newbie. I hope someone with experience can tell me what to do when I get here? grateful! !