peacemaker Expert Licensed User Longtime User Jan 22, 2012 #1 Hi, All There is an project that uses HTTPUtils module and about 20 URLs used for just XML-text data exchange with a web-server, each URL has 5-10 parameters to be sent. Now it's tasked to switch it to using POST requests only - how can it be implemented ? Last edited: Jan 22, 2012
Hi, All There is an project that uses HTTPUtils module and about 20 URLs used for just XML-text data exchange with a web-server, each URL has 5-10 parameters to be sent. Now it's tasked to switch it to using POST requests only - how can it be implemented ?
Erel B4X founder Staff member Licensed User Longtime User Jan 22, 2012 #2 You can use PostString to send the parameters in the request body. However currently you can only issue a single post Url in every job. Upvote 0
You can use PostString to send the parameters in the request body. However currently you can only issue a single post Url in every job.
peacemaker Expert Licensed User Longtime User Jan 22, 2012 #3 But how several parameters can be coded\set for transfer ? UTF8 is also needed to be supported. Last edited: Jan 22, 2012 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jan 22, 2012 #4 This line is from the HttpUtils example: B4X: HttpUtils.PostString("POST Job1", PostUrl, "key1=value1&key2=value2") UTF8 is supported. Upvote 0
This line is from the HttpUtils example: B4X: HttpUtils.PostString("POST Job1", PostUrl, "key1=value1&key2=value2") UTF8 is supported.