SMOOTSARA Active Member Licensed User Longtime User Nov 5, 2021 #1 Hello friends I need to send a http 1.1 request to the host B4X: GET /messages/v3/messages?title=en&lid=1&cid=1&purity=2&order=2&page=1 HTTP/1.1 Content-Length: 0 Host: api.xxxxxx.com Connection: Keep-Alive Authorization: Basic XXQ3bnlFWkN3TDMXXGdVTnR3SlB3ODMwallHRlRXXm46RTR9XS8qUn02a2ZhNmXX Accept-Encoding: gzip
Hello friends I need to send a http 1.1 request to the host B4X: GET /messages/v3/messages?title=en&lid=1&cid=1&purity=2&order=2&page=1 HTTP/1.1 Content-Length: 0 Host: api.xxxxxx.com Connection: Keep-Alive Authorization: Basic XXQ3bnlFWkN3TDMXXGdVTnR3SlB3ODMwallHRlRXXm46RTR9XS8qUn02a2ZhNmXX Accept-Encoding: gzip
MarcoRome Expert Licensed User Longtime User Nov 6, 2021 #2 B4X: j.Download($"https://api.xxxxx.com/messages/v3/messages?title=en&lid=1&cid=1&purity=2&order=2&page=1"$) j.GetRequest.SetHeader("Authorization", "Basic " & Token) j.GetRequest.SetHeader("Accept-Encoding","gzip") Wait For (j) JobDone(j As HttpJob) .... Upvote 1
B4X: j.Download($"https://api.xxxxx.com/messages/v3/messages?title=en&lid=1&cid=1&purity=2&order=2&page=1"$) j.GetRequest.SetHeader("Authorization", "Basic " & Token) j.GetRequest.SetHeader("Accept-Encoding","gzip") Wait For (j) JobDone(j As HttpJob) ....