Page 1 of 1

Add by url. Querystring same key-parameter problem

Posted: March 22nd, 2014, 6:26 am
by shakeshar
Hi,
I'm trying to use the Sabnzbd api to add a .nzb file by a url from usenet-crawler.com
I run into a problem because both the Sabnzb API and the usenet-crawler.com API uses the same variable keyname (apikey), which returns a error from Sabnzb: "error: API Key Incorrect"
I should mension that if change to name-parameter to a link that dosen't contain the apikey-parameter it works like a charm.
Do anyone have any ideas on how i could fix this?

Example link to Sabnzbd:
/api?mode=addurl&apikey=SABNZBD-KEY&name=http://www.usenet-crawler.com/api/?t=ge ... RAWLER-KEY
From the Sabnzbd API section:
Add by URL

Added in 0.3
Priority added in 0.5
Shortest:
URL: api?mode=addurl&name=http://www.example.com/example.nzb&nzbname=NiceName

Re: Add by url. Querystring same key-parameter problem

Posted: March 22nd, 2014, 6:45 am
by jcfp
url-encode the link you're trying to send