I’m trying to make a request to the REST API for checking a video conversion request status.
I’m using Axios the make a GET request to https://api.uploadcare.com/convert/video/status/${token}, using the following headers:
When I do a POST request to convert the file it works, but when doing this GET request it returns a CORS error.
I looked at the API docs and could not find a solution. any Ideas?
Technically, it should work from both, but for security reasons, it’s recommended to implement this logic on the backend. Either way, I was unable to reproduce the issue in the browser. Can you please clarify if the request’s origin is HTTP or HTTPS?
It’s not https, perhaps that’s the issue. When I try from a local environment I get the CORS error, when I try with postman immediately after the conversion request I get a 404 response
The interval is around 3 seconds - I do the conversion request from the browser, get a token back, copy that and shoot the status check from postman.
In general, how come the conversion request is ok locally and the status check request isn’t?