Sample Call
The following is a sample call for OAuth 2.0.
curl -v -d '{ "method":"oauth2.fetchApplication", "id": "2", "params":{ "service_key" : "<service_key>", "client" : {"client_id":"<api_key>", "client_secret":"<api_secret>"}, "response_type" : null, "uri" : {"redirect_uri": "http://sometest.test.com/error?key=foo", "state":"bar"} } }' 'https://<masherylocal_host>:8083/v2/json-rpc/' -u '<api_access_user>: <api_access_password>' -k
For host name, the IP Address of the instance where the OAuth API is enabled can be used. If the OAuth API on TIBCO Mashery® Local is to be used in conjunction with traffic outside the firewall, it is recommended that the TIBCO Mashery® Local cluster be fronted with a load balancer with a host name is associated with it (in addition to mapping port 8083 to an acceptable externally accessible port, such as 443).
Copyright © Cloud Software Group, Inc. All rights reserved.