API Get Request in LiveCode
Posted: Thu Jun 04, 2020 2:40 am
I am trying to connect to my Laravel application using API. I tested everything in postman and the results are being returned in JSON as expected. In Live code, how to I make the GET request. The POST request for logging in and getting the access token is fine but I am having issues with the GET request.
Once I get the access token back, the service provider requires the access toke to be provided in the header when the user logs in. I have that setup in LiveCode UI.
I need help on how to set this token in the header and then do the GET request call which should return the values. However, I was not able to find specific examples for using a header token and doing a GET request in LiveCode. Any help will be greatly appreciated.
Once I get the access token back, the service provider requires the access toke to be provided in the header when the user logs in. I have that setup in LiveCode UI.
I need help on how to set this token in the header and then do the GET request call which should return the values. However, I was not able to find specific examples for using a header token and doing a GET request in LiveCode. Any help will be greatly appreciated.