Go to All Forums

REST API Transaction- Call Graph API with OAuth Provider ( ClientCredentials)

Greetings,

with ClientCredential in OAuth Profiler, i got the AccessToken sucessfully, next i need to use this to test for REST API call. after configured some items in REST API Transaction steps, it failed and prompted there are some configuration error.

here is my configuration for your references.

please help to check if any steps is missing.

thanks,

Jun

Like (2) Reply
Replies (4)

Re: REST API Transaction- Call Graph API with OAuth Provider ( ClientCredentials)

Hello,

You can view the reason for the Configuration Error within the Site24x7 Web Client by clicking on the monitor in the list of monitors. A Configuration Error occurs when your server is polled and it returns an error response code, or a content check you have configured in the monitor fails. This only happens when a new monitor is created so that you don't receive a down alert.

Regards,

Kurian

Like (0) Reply

Re: Re: REST API Transaction- Call Graph API with OAuth Provider ( ClientCredentials)

Hi Kurian

thanks for your reply.

in Http Configuration, how to set Variable for HTTP Header to get AccessToken. in this case. I need to add as below in request header:

Authorization: Bearer xxxx

the issue here is that XXXx has been provided by OAuth Provider that was configured by ClientCredentials.  

i did not find any useful document on your site. please suggest.

Like (0) Reply

Re: Re: Re: REST API Transaction- Call Graph API with OAuth Provider ( ClientCredentials)

Hello,

In the monitor configuration, once you select Authentication Method: OAuth and OAuth Provider: <Your Provider>, the Authorization header will be automatically added to the request with the access token.

Regards,

Kurian

Like (0) Reply


Was this post helpful?