Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

calling api in talend

Hi,

I need your help to design the talend Job where i need to invoke rest api as below requirement:

 

1. 

  1. POST clientId and clientKey to URL and gets the session token

URL:  https://pcacccess-stage.run.asv-pr.abbcsdas/externalapps/authenticate

Media Type: application/json

POST Data:

{

  "clientId": "prasoon",

  "clientKey": "2fcc99fb6d9d41978afd7kladfastes "

}

 

Expected response (token value will be different each time) –

HTTP/1.1 200 OK

Cache-Control: no-cache, no-store, max-age=0, must-revalidate

Content-Length: 135

Content-Type: application/json;charset=UTF-8

Date: Thu, 09 Nov 2017 15:39:01 GMT

Expires: 0

Pragma: no-cache

Server: Apache

Strict-Transport-Security: 

 

 

{

  "success" : true,

  "data" : "dasdjfasjdf-nasis018393-asdf",

  "errors" : [ ],

  "warnings" : [ ],

  "infoMessages" : [ ]

}

How can i achieve this?

Is there any way i can test this url with cilent id and key,sorry i am new to this kind of application design.

 

Regards

PK

Labels (5)
10 Replies
Anonymous
Not applicable
Author

Hi,

Even i tried using tsetProxy but it does not work.

 

There is transport level security TLS1.2 is implemented, i have used java code and it is working file but is there any way i can add TLS option in tRest or tRestClient.

 

 

Regards

PK