D davidcr85 Member Mar 18, 2024 #1 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: Copy 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
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: Copy 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 Expert Licensed User Longtime User Mar 18, 2024 #2 davidcr85 said: 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: Copy 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 Click to expand... 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
davidcr85 said: 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: Copy 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 Click to expand... Yes, it can help and depending on the request method (GET/POST) GET = j.download() or j.download2() POST = j.poststring() or j.postmultipart()