Android Question HttpUtils2 Send Payload + Sni

davidcr85

Member
Hello. I am starting a project with B4A where it is necessary to establish a remote connection by sending a payload and specifying a connection SNI. I can achieve this with Httputils2

B4X:
Dim j As HttpJob
j.Initialize("job name", Me)
j.Download(<link>) 'it can also be PostString or any of the other methods
j.GetRequest.SetHeader("User-Agent", "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0")

I guess the above can help me send the payload
 

mcqueccu

Well-Known Member
Licensed User
Longtime User
Hello. I am starting a project with B4A where it is necessary to establish a remote connection by sending a payload and specifying a connection SNI. I can achieve this with Httputils2

B4X:
Dim j As HttpJob
j.Initialize("job name", Me)
j.Download(<link>) 'it can also be PostString or any of the other methods
j.GetRequest.SetHeader("User-Agent", "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0")

I guess the above can help me send the payload
Yes, it can help and depending on the request method (GET/POST)

GET = j.download() or j.download2()
POST = j.poststring() or j.postmultipart()
 
Upvote 0
Top