Around half the API methods found in the documentation are broken when attempting to test the API call via the web interface.
Here's an API that does work:
Note that under the access_token
field, Get Token
will automatically populate the field with the users token. If you don't populate the field, you get an expected error:
{
"error_id": 401,
"error_message": "This method requires an access_token",
"error_name": "access_token_required"
}
Here's one that doesn't work:
Here, access_token
does not have a button to automatically populate the access_token
field. Whether or not you fill in the fields manually, clicking the button throws an error in javascript, with no error displayed to the user. Here's what's found in the console of my browser:
/mini-profiler-resources/results Failed to load resource: the server responded with a status of 404 (Not Found)
console.js?v=0d76f585b0e1:1 Uncaught TypeError: Cannot read property 'find' of undefined
at e (console.js?v=0d76f585b0e1:1)
at Object.T [as run] (console.js?v=0d76f585b0e1:1)
at HTMLButtonElement.onclick (accept-answer:200)
A second one that doesn't work either:
Here, access_token
is an optional input, but it does not display on the page at all. Clicking run yields the same error above.