How does one obtain the Qiniu space link for public platform activity Image storage? How do I upload user images to Qiniu? How does one obtain the Qiniu space link for public platform activity Image storage? How do I upload user images to Qiniu?
Reply content:
How does one obtain the Qiniu space link for public platform activity Image storage? How do I upload user images to Qiniu?
Qiniu must have read the documentation supported by Qiniu!
For more information, see the documentation!
However, you can briefly describe the processing process (process ):
1. Authorization. you must obtain access_toke through nauth_token. Before that, you must use appid, appkey, and so on.
2. the provided api (js or native) is used to upload images to the server first (it may take about two to three days to save the image. How long have you forgotten it ), then, obtain the uploaded image through the provided api;
3. Upload the image to Qiniu. then, upload the image to Qiniu and save the image to Qiniu;
4. obtain the image from Qiniu (if the authorization method is not used, the image can be directly matched with backet );
The processing process is like this, and debugging is troublesome. in particular, you need to pay attention to a lot of details. There are also a lot of people who have stepped into the pitfalls on the internet. please refer to the relevant materials, it is estimated that you will still encounter the same pitfalls, because you have never lie down, huh, huh.