Issue with sending POST requests to Roblox' API

Hello there!
I’ve recently started experimenting around a little with the Roblox API for fun to see what I can do with it.
However, I now wanted to try out POST requests, for example https://auth.roblox.com/, but I keep getting either Token Validation Failed or just an empty response altogether with code 403.
I already looked into it, but most resources I could find are a few years old and for people the issue seems to have usually been the X-CSRF-Token, however I do provide one in the form of a cookie and it still won’t work. I also tried providing the token as a normal header which also didn’t work. I don’t know if anything with their authentication changed over the last years of if I’m just making a stupid mistake.

2 Likes

I figured it out by now. I was stupid and sent the X-CSRF-Token as a cookie and not a header.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.