how can i use api-test.box.com with BOX SDK for Python
I want to test by changing the connection destination of the API.
I want to use only api-test.box.com.
Therefore,
I changed api.box.com in config.py to api-test.box.com.
I made the following connections:
>>> from boxsdk import DevelopmentClient
>>> client = DevelopmentClient()
Enter developer token: <ENTER DEVELOPER TOKEN HERE>
>>> user = client.user().get()
I received the following response.
GET https://api-test.box.com/2.0/users/me {'headers': {'Authorization': '---wXyZ',
'User-Agent': 'box-python-sdk-2.0.0',
'X-Box-UA': ...
After this, I think that api.box.com is no longer used.
But I don't know if it's correct.
Please let me know.
Please sign in to leave a comment.
Comments
0 comments