Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

how to fix "Authorization has been denied for this request" when sending a request to an api?

Asked by 4 years ago

I am trying to send a POST request to this api: https://publish.roblox.com/v1/assets/upload The output always says "{"errors":[{"code":0,"message":"Authorization has been denied for this request."}]}". Is there any way to fix this?

1 answer

Log in to vote
0
Answered by
Elyzzia 1294 Moderation Voter
4 years ago

you can't make http requests to roblox apis from within roblox itself

to get around this, most people make requests to a proxy server, which then returns the actual results of the request

i'm not sure how exactly you would go about doing that, but there's bound to be something on google so :^)

Ad

Answer this question