Created
August 2, 2017 00:55
-
-
Save atwellpub/c48a561f5c56c58e25777612398d139e to your computer and use it in GitHub Desktop.
Testing the Client to Inbound Now connection.
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
<?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