Page 1 of 1

Adding newznab url via the API

Posted: February 17th, 2013, 1:22 pm
by compound84
Hi, im trying to use the sabnzbd API and having a little trouble with adding via URL. as to access a file via url in newznab you have to provide aditional params i.e the API key so you end up with a url like this:http://news.XXX.org/getnzb/0221a078277e ... =1&r=XXXXX and sab only uses the first bit, any idea how i can do this? thanks

Re: Adding newznab url via the API

Posted: February 17th, 2013, 3:01 pm
by compound84
I solved this by using %26 instead of & in the url param!

Re: Adding newznab url via the API

Posted: February 18th, 2013, 5:34 am
by shypike
That's the standard way to use URLs as parameters.
In fact you should also substitute : and /