Forum Discussion

alex_panganiban's avatar
alex_panganiban
Contributor
4 years ago
Solved

Using REST In-Memory OAuth2 Account

I am converting a REST Put snap so it can use OAuth2 for authentication purposes. I have a REST In-Memory OAuth2 account created. It has been able to authorize and refresh its tokens. When I try an...
  • SpiroTaleski's avatar
    2 years ago

    jfpelletier 

    1) You can define the parameters(the ones that are expected to be sent by the system) in the pipeline properties, and access the parameters with "_" and the name of the parameter. ex: _param1. 

    2) You can access all the parameters with the QUERY_STRING argument. 

          ex: _QUERY_STRING

          The result is string containing all the parameters sent by the system. ex: "test=value&test1=value1". 

          So, probably you will need to utilize some of the string functions in order to get/extract the parameters.