Can't upload scripts via API
-
I just created a script to start using the upload API, but I ran into a problem. Every GET or POST is being met with a 401 "Unauthorized" response, but as far as I can tell the script is functional (through testing it on other sites) and my email and password should be correct.
For reference, here's the python 3.3 script I'm using: https://gist.github.com/ThyReaper/89fb434d413f45a3c033407410ffdfaa
Any ideas what might be wrong?
-
Figured it out. Python's default auth handling expects a specific style of 401 response to the initialize request, which I guess isn't provided by the screeps site.