Layer 7 Identity Management

Expand all | Collapse all

Invoke REST calls using Policy Express

  • 1.  Invoke REST calls using Policy Express

    Posted 10-16-2018 03:27 PM

    We are looking to leverage Policy Express to invoke REST calls. Is there a sample REST URL that we can leverage for more understanding and configure it.

     

    In addition, do we have an example used for REST.

     

    Thanks.



  • 2.  Re: Invoke REST calls using Policy Express

    Posted 10-17-2018 01:49 AM

    Hi

    You could use public / test REST APIs such as JSONPlaceholder - Fake online REST API for developers or REST Countries  to test and see how things work. Also, if you are using Identity Portal you can utilize the IM REST API used by the Portal.

     

    Regards

    Rinat

    CA Tech Support



  • 3.  Re: Invoke REST calls using Policy Express

    Posted 11-01-2018 12:26 PM

    Thank you. We were able to test using http://jsonplaceholder.typicode.com/posts .

     

    From our use case, we want to pass user information as part of the REST call(that the application has built for us and it will perform an insert into the application database) and I assume that we can do that using Request Body in Policy Express using Category as Data Sources, type as REST Base Query and Function as Basic Auth Invoke.

     

    In the functional description, what should the Request body look like

     

    Base URL: Application URL

    Operation: POST

    UserName: dummy

    Password: ****

    Request Body: What should be the format and is there an example or a technote.

     

    Thank you.



  • 4.  Re: Invoke REST calls using Policy Express

    Posted 11-05-2018 03:42 AM

    The perfect example in the form of Techdoc

    IM Policy Xpress - Using "REST Base Query" - CA Knowledge 

     

    Regards

    Rinat
    CA Tech Support



  • 5.  Re: Invoke REST calls using Policy Express

    Posted 10-21-2018 04:06 AM

    If the comment provided does not answer your question, please open a support case so we can investigate further.



  • 6.  RE: Re: Invoke REST calls using Policy Express

    Posted 08-07-2019 10:13 AM
    Hi,
    Please share the response format when we execute/initiate the rest query for Base URL: http://jsonplaceholder.typicode.com/posts
    {"userId":1,"title":"foo","body": "bar"}
    Thanks,