First, look at the error message you posted; it clearly states what the errors are:
[
{u'reason': u'missing_parameter', u'message': u"'parent' is required", u'name': u'parent'},
{u'reason': u'missing_parameter', u'message': u"'name' is required", u'name': u'name'}
]
So, you'll have to supply parent
and name
in your request.
Second, note that the Box API expects the payload to be JSON encoded and present in the body.
As of now, you're sending it as a request (GET) parameter, using the params
argument to session.post
, you should use the data
argument instead.
Might also want to set your Content-Type
header to application/json
.