|
Rank: Newbie
Joined: 1/30/2020 Posts: 4
|
Hello. I am still fairly new to MapForce and joined this forum after searching for a solution.
I am trying to use MapForce to retrieve data from a web service. To use this service, I must first obtain a bearer token (which I have done successfully in the application).
Would somebody please point me in the right direction for supplying a second call to another endpoint with this bearer token? I don't see anything in the settings for authorization other than username/password. I am sorry if I have missed a relevant topic, but I have searched without finding anything.
|
|
Rank: Advanced Member
Joined: 2/27/2009 Posts: 564
|
Are you passing this token in as a parameter? Is it something coming from yet another web service call, something that expires periodically or anything like that?
|
|
Rank: Newbie
Joined: 1/30/2020 Posts: 4
|
Yes, the token expires on a specified interval. I did figure it out and it was actually so simple. I guess that is why I was overlooking it.
I was taking the literal response token and plugging that into the new request. What was needed was just a concatenate ("Bearer ",{TOKEN}) to match the string the service is looking for exactly.
The service is doing pagination on the results so I have to figure that out next but in good shape now. Thank you!
stewhi019 attached the following image(s):
|
|
Rank: Newbie
Joined: 1/30/2020 Posts: 4
|
Yes, the token expires on a specified interval. I did figure it out and it was actually so simple. I guess that is why I was overlooking it.
I was taking the literal response token and plugging that into the new request. What was needed was just a concatenate ("Bearer ",{TOKEN}) to match the string the service is looking for exactly.
The service is doing pagination on the results so I have to figure that out next but in good shape now. Thank you!
|
|
guest |