Last active
December 24, 2015 05:59
-
-
Save levicook/6753826 to your computer and use it in GitHub Desktop.
When posting to the create_datastore endpoint, I'm supposed to supply a "key" parameter.
Where is the value supposed to come from? Attached, is an detailed view of the http request and response I'm seeing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
calling datastoreManager.CreateDatastore | |
2013/09/29 10:06:19 Request | |
2013/09/29 10:06:19 Method : POST | |
2013/09/29 10:06:19 URL : https://api.dropbox.com/r5/datastores/create_datastore | |
2013/09/29 10:06:19 Body : (ioutil.nopCloser) { | |
Reader: (*strings.Reader)(0xc2002634c0)({ | |
s: (string) "dsid=.07b474e1a58eaddc2fd8d96cd19c14", | |
i: (int) 36, | |
prevRune: (int) -1 | |
}) | |
} | |
2013/09/29 10:06:19 Response | |
2013/09/29 10:06:19 Status : 400 | |
2013/09/29 10:06:19 Body : {"error": {"key": "Missing value"}} | |
2013/09/29 10:06:19 Unknown Error. | |
Status Code : 400 | |
Status Text : Bad input parameter. Error message should indicate which one and why. | |
Request Method : POST | |
Request URL : https://api.dropbox.com/r5/datastores/create_datastore | |
Response Body : {"error": {"key": "Missing value"}} | |
exit status 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment