Hi, all.
I'm new to Primedice, and I've been trying to make a Javascript bot for it, as I just did for satoshiDice.
Problem is, I am constantly facing a CORS request issue, even when using a code block from an existing bot to make my request and all I get is "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at
https://api.primedice.com/api/bet?access_token=XXXXXXXXX (Reason: CORS header 'Access-Control-Allow-Origin' missing)".
Although I'm a noob, I'm pretty sure said CORS header is supposed to be supplied in the response by the server the request is made to, not the client sending it. So before I go to real programmers with my problem, I'd like to be sure that there isn't some kind of period that I'd have to wait before getting the necessary credentials to use automated betting, or some other restriction I could have missed.
Any help/information would be greatly appreciated.