Skip to content

Instantly share code, notes, and snippets.

@atwellpub
Created August 2, 2017 00:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atwellpub/c48a561f5c56c58e25777612398d139e to your computer and use it in GitHub Desktop.
Save atwellpub/c48a561f5c56c58e25777612398d139e to your computer and use it in GitHub Desktop.
Testing the Client to Inbound Now connection.
<?PHP
/* look up api key to see what permissions it has */
$response = wp_remote_post('https://www.inboundnow.com/pro-api/key/check/', array(
'body' => array(
'api-key' => trim('1234'),
'site' => 'https://dev.inboundnow.com'
)
));
echo json_encode($response);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment