Uploading Images into Cloudflare using node.js
I am trying to upload an image into Cloudflare using node.js; however, I keep getting this error
My current function for the upload is
The directory the images are in is in the picture.
I don't think it's any trouble with retrieving the image.
I have tried making content-type the same content type as file request
I have tried the sme thing on fetch since I heard there were some inconsistencies with axios
I have also checked the properties of the file manually and it is a jpeg file
1 Reply
After 15 hours of research and chatgpt giving me the wrong information. i figured out the function
If anyone struggles with this in the future