I’ve looked at various wbsite but none seem to awnser my qestion. I have intermediate-basic knoledge in javascript. Intermediate-Advance HTML and intermediate Knoledge in CSS and basic knowledge in PHP. Answer My take on a solution for this will need you to be a little familiar with Node. Just some basics What we will be doing is creating a little
Tag: cloud
401 Unauthorized error when uploading an image to Cloudinary in specific folder on signed upload preset
I have a social media app, and when a user wants to upload a profile picture, they must obtain a signature from the server. This code works when I remove the upload preset in the front end, but I want the upload preset so that the user can upload to a specific folder, and it is a signed upload preset,
JavaScript pCloud API call to fetch userinfo gives an error
While calling the api from JavaScript This HTTP request works fine https://api.pcloud.com/userinfo?username=xxxx@gmail.com&password=xxxx In the below code I want to call via JavaScript output in console XMLHttpRequest cannot load https://api.pcloud.com/userinfo?{}. Request header field Authorization is not allowed by Access-Control-Allow-Headers in preflight response. If someone can provide a solution or enhance the code. Answer Pass the username and password in the data