Hi @vshalbnsal,
to pass parameter from postman to pipeline, you can follow below steps
-
use this skeleton pipeline to check connectivity, SAP_To_concur_test_2020_05_11.slp (6.8 KB) , upload this pipeline and create triggered task.
-
open postman use POST method, the cloud URL and snaplogic credentials basic auth to setup connectivity.
-
have Content-Type as application/json and json data as below sample
[
{
“targetAuthorisation”:“not_your_token”,
“targetURL”:“your_url”,
“payload”:“your_payload”
}
]
-
you can test response by changing values of targetAuthorisation, as it will only accept token which is defined in pipeline parameters and others can be routed out to exit flow.
Note ::
Like header parameter Content-Type, “Authorization” header here corresponds to snaplogic trigger task’s bearer token, hence if passed in header, Authorization should be exactly equal to bearer token of called task. this also means that you have control over the Authorization header as changing it in task will also help you define it as desired.
also, query parameters in postman corresponds to pipeline parameters
if you want to change any pipeline parameter, it can be passed in query section
Thanks