Remove Item API HTTP method

kevin's Avatar

kevin

05 Nov, 2011 11:29 PM

The remove item API requires POST even when not sending a quantity. The docs imply that a GET request should work.

  1. Support Staff 1 Posted by Marc Guyer on 08 Nov, 2011 05:43 PM

    Marc Guyer's Avatar

    Hi Kevin -- My initial reaction was that POST shouldn't be required in this case but on further examination, it's just the way we architected things. If the method isn't POST, the API doesn't consider the call as one requesting a change. We're reserving GET requests as those that just pull data.

  2. Marc Guyer closed this discussion on 08 Nov, 2011 05:43 PM.

  3. kevin re-opened this discussion on 08 Nov, 2011 07:47 PM

  4. 2 Posted by kevin on 08 Nov, 2011 07:47 PM

    kevin's Avatar

    That makes sense. You should put something in the docs to show what method
    should be used.

  5. Marc Guyer closed this discussion on 01 May, 2012 03:37 PM.

Discussions are closed to public comments.
If you need help with Cheddar please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

28 Mar, 2024 10:45 PM
24 Jan, 2024 08:33 AM
11 Jan, 2024 07:13 AM
30 Nov, 2023 02:07 AM
22 Nov, 2023 08:41 AM