To Test the Remotely Deployed Provider

To test the remote provider, use the same curl command that you used for testing the provider you ran locally, except change localhost:8082 to the CloudHub URL for the provider, and of course, substitute your own base64-encoded credentials for NmJl…​RDYK1.

To test the provider, Windows users need to download tools that support curl.

curl -i -X POST -H "Content-Type: application/x-www-form-urlencoded" -H "Authorization: Basic NmJl...RDYK" -d 'grant_type=password&username=max&password=mule' '' -k

The output includes the access token and the expiration time in seconds:


In this topic: