File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -276,6 +276,19 @@ supported by the SDK. You can still use these endpoints by using the ``make_requ
276276The ``Client `` class and Box objects have a ``get_url `` method. Pass it an endpoint
277277to get the correct URL for use with that object and endpoint.
278278
279+ For API calls which require a body, ``make_request() `` accepts ``**kwargs `` after ``method `` and ``url ``.
280+
281+ .. code-block :: python
282+
283+ # https://developer.box.com/reference#update-terms-of-service-user-status
284+ # Updates a user's ToS status
285+
286+ # JSONify the body
287+ body = json.dumps({" is_accepted" :true})
288+
289+ # Pass body as "data" argument
290+ client.make_request(method, url, data = body)
291+
279292 Box Developer Edition
280293---------------------
281294
You can’t perform that action at this time.
0 commit comments