Android Question InitializePut2 not send data

devmobile

Active Member
Licensed User
Hello
I use InitializePut2 from httputil for send data and receive it in php with below code
B4X:
$requestjson = file_get_contents('php://input');
But InitializePut2 dont send data to php.

My basic code :
B4X:
hu.Initialize("updatecart",Me)
hu.PostString("http://example.com/a.php",$"{"name":"omid"}"$)
hu.GetRequest.InitializePut2("http://example.com/a.php",$"{"name":"omid"}"$.GetBytes("UTF8"))
 

devmobile

Active Member
Licensed User
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0

devmobile

Active Member
Licensed User
Erel i need to DELETE method and other
All method is working in my project
But not send data over Method to server
I see your src HTTPUTIL2 but it didnot help to me
 
Upvote 0
Top