You are viewing an older version of this topic. To go to a different version, use the version menu at the upper-right. +

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:

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.