Vivin Jetha Posted February 25, 2021 Share Posted February 25, 2021 Hi, I am trying to up the "HTTP" connector to make a few post calls. First one is an auth call PFA. This is the call structure. I am un-sure how to mapp the fields so this call executes correctly. I have almost given up using the "REST Webservices" as it has many issue in executing this call leaving me to try this route. Any insights with this is greatly appriciated. Thank, Vivin Link to comment Share on other sites More sharing options...
Nick Roelandt Posted May 11, 2021 Share Posted May 11, 2021 Hi Vivin, I've attached a small demo flow how to handle this. You would need to use both the HTTP and MAPPER connectors. First you would use the HTTP connector to send the auth request (2nd screenshot) Now you need to use the MAPPER connector to deserialize the JSON response So the in mapper connector you would add a new entree, with the following JSON shema { "convey_api": { "result": { "authenticationData": { "token_expiration": 1545086743630, "token": "Token_Value" }, "returnCode": 1 }, "current_timestamp": 1545079543638, "version": 3 } }use the FETCH block from the mapper connector, map the input to the Responecontent (from the HTTP) In your downstream blocks you can use the TOKEN (captured with the MAPPER connector) thanks Nick Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now