POST or GET?

Got a program that plays well with SABnzbd? Share it here!
Post Reply
jonneymendoza
Newbie
Newbie
Posts: 36
Joined: April 27th, 2010, 5:12 am

POST or GET?

Post by jonneymendoza »

Hi guys im nearly on the stage where i can add nzb files to my web server on my app but im wondering if calls such has:

Queue Actions
Delete
Move
Pause
Resume
Shutdown
Add by URL
Add by fileupload
Add by file path

Are post or get requests?
User avatar
Hmail
Release Testers
Release Testers
Posts: 65
Joined: August 12th, 2008, 1:13 pm

Re: POST or GET?

Post by Hmail »

Read the documentation, it's pretty clear from there: http://wiki.sabnzbd.org/api
User avatar
nomar383
Release Testers
Release Testers
Posts: 221
Joined: April 14th, 2010, 1:34 am
Location: Rexburg, ID
Contact:

Re: POST or GET?

Post by nomar383 »

I've been using POST with all my requests.
SABCommand for iPad Developer
SABConnect for Safari 5 Developer

Bug Tracking:
http://redmine.kalenhansen.com

Twitter:
http://twitter.com/SABCommand
markus101
Release Testers
Release Testers
Posts: 406
Joined: August 13th, 2008, 2:51 am

Re: POST or GET?

Post by markus101 »

nzbdStatus used GET for all but Add by Fileupload, that uses POST, on SABSync it uses GET for the few simple commands it does (Queue/History Check, Add by URL).

-Markus
Co-developer of NzbDrone (.Net NNTP PVR) - http://www.nzbdrone.com
Post Reply