1. Home
  2. API
  3. Checking For Supported Verbs

Checking For Supported Verbs

Each request to an API Resource except for the /resources and /auth resources will also return a list of supported verbs. This information is returned in the supported_verbs array. This is helpful if you want to make a quick check on what kind of actions you can do with a resource.

$response = $api->get('/levels');
$response = unserialize($response);

TIP: You can also just call /resources and get a full list of available resources and their supported verbs.

Was this article helpful?

Related Articles