Upload using fileUrl with Headers?

Hello Everyone,

I’m trying to upload an image uploadcare using a fileUrl. However, the image requires an authorization header for it to be accessed. Is there a way to pass headers to the upload API for uploadcare to use when it fetches the file? I’m trying to avoid creating a proxy script to avoid load on our servers.

Thanks in advance!

Hey there!

The fromUrl method of Upload API only works with files that can be accessed publicly.
You may try to pass user:password part in URI, if your origin supports that scheme, otherwise the proxy is one of few options that you have.