Introducing the all-new TIBCO Community site!

For current users, please click "Sign In" to reset your password and access the enhanced features. If you're a first-time visitor, we extend a warm welcome—click "Sign Up" to become a part of the TIBCO Community!

If you're seeking alternative community sites, explore ibi, Jaspersoft, and Spotfire.

Jump to content

Assistance with setting up calls in the new "HTTP" connector.


Vivin Jetha

Recommended Posts

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

  • 2 months later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...