I am trying to connect my thunkable app to WalMart web API.
I am reading the docs to connect it and it is saying that HTTP requests will fail.
From Documnets:
All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests with an incorrect authentication will also fail and will return a Status Code of 401 .
All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests with an incorrect authentication will also fail and will return a Status Code of 401 .
Looks like it does not work since postman is also sending a HTTP call. Does anyone know if there is a way to send a HTTPS cURL call from Thunkable?
You need a conversation tool for your authentication credentials.
You can use Postman if you want. Give it the SSID and Auth Token and Postman would give you an encrypted string which you will need to use in the authorization entry of your header.
Thank you for sticking with me on this and letting me know I’m most likely wrong in how I was inputting data.
I used Postman for the HTTP diagnosis. On the left side of Postman there is a </> symbol that shares the cURL code. I noticed that the Authorization header was changed from how I was entering it in Thunkable.
I was entering my property as: “Authorization” with value: “Basic SSID:auth-code”. However when I looked at the code in postman it changed it to a long key.
I have no idea how to make this key or where is came from. I’m sure it has something to do with Basic Auth protocols? So to solve it I put my property as: “Authorization” with value: “Basic long-random-key”.
Anyways it is solved thanks to this. I appreciate everyone who helped. Stay tuned for more questions.