Does the box API require case-sensitive booleans?

Posted by Nick Chadwick on Stack Overflow See other posts from Stack Overflow or by Nick Chadwick
Published on 2013-10-28T03:50:27Z Indexed on 2013/10/28 3:53 UTC
Read the original article Hit count: 210

Filed under:

I'm having some issues with the box.com developer API, and it seems that this is due to the API requiring lower-case booleans in request parameters.

When I make a call to say, delete a folder, the URI my framework is generating looks like this:

(DELETE) https://api.box.com/2.0/folders/1234?recursive=True

This doesn't work, and the API throws an error. However, if I manually set the URI to this:

(DELETE) https://api.box.com/2.0/folders/1234?recursive=true

Everything seems to work just fine. I'd like to confirm that this is indeed the behavior, and if it is, I'd like to request box fix their API!

© Stack Overflow or respective owner

Related posts about box-api