<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Can&#x27;t upload scripts via API]]></title><description><![CDATA[<p>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.</p>
<p>For reference, here's the python 3.3 script I'm using: <a href="https://gist.github.com/ThyReaper/89fb434d413f45a3c033407410ffdfaa" target="_blank" rel="nofollow noreferrer">https://gist.github.com/ThyReaper/89fb434d413f45a3c033407410ffdfaa</a> </p>
<p>Any ideas what might be wrong?</p>]]></description><link>http://screeps.com/forum/topic/1014/can-t-upload-scripts-via-api</link><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Nov 2026 22:49:57 GMT</lastBuildDate><atom:link href="http://screeps.com/forum/topic/1014.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 30 May 2016 03:36:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Can&#x27;t upload scripts via API on Invalid Date]]></title><description><![CDATA[<p>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.</p>
<p>For reference, here's the python 3.3 script I'm using: <a href="https://gist.github.com/ThyReaper/89fb434d413f45a3c033407410ffdfaa" target="_blank" rel="nofollow noreferrer">https://gist.github.com/ThyReaper/89fb434d413f45a3c033407410ffdfaa</a> </p>
<p>Any ideas what might be wrong?</p>]]></description><link>http://screeps.com/forum/post/4835</link><guid isPermaLink="true">http://screeps.com/forum/post/4835</guid><dc:creator><![CDATA[ThyReaper]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t upload scripts via API on Invalid Date]]></title><description><![CDATA[<p>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.</p>]]></description><link>http://screeps.com/forum/post/4836</link><guid isPermaLink="true">http://screeps.com/forum/post/4836</guid><dc:creator><![CDATA[ThyReaper]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>