Skip to Content
0

How to get Bearer token dynamically in authorization header using web services REST datastore?

Jan 02 at 06:44 PM

105

avatar image

As Google APIs don't require any authorization and we can get data. The requirement is to get data into BODS from external web site using RESTful API function. External web sites are not accessible directly as we have firewall and proxy settings. Code is written in JSON and BODS reads XML code.

To get data from RESTful API's, first we have to login to web site using basic authentication and then get Bearer type API Token. This token is alive for few mins (15 mins) and needs to be refreshed each time when RESTful API function is called. Do I have to write any code in .wadl file to get the token refreshed each time?

In BODS, How to get Authorization header refreshed each time? What are the requirements for BODS to pass through firewall and proxy settings?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers