Android Question Example CURL for B4A

Francesco Maresca

Member
Licensed User
Longtime User
Hi
i have this curl:

B4X:
  Curl -v -k \
-X POST \
--header 'Content-Type: application/xml' \
https://test/v1/curl/' \
'--data-binary @myfile.xml --verbose


What are the correct instructions to use it with httputils?
 

peacemaker

Expert
Licensed User
Longtime User
Dim job As HttpJob
job.Initialize("JobName", Me)
job.GetRequest.SetContentType("application/xml")
job.PostString("https://test/v1/curl/", strXML)
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…