I'm having a rough time posting a particular JSON object. The JSONParser works perfectly, but when the resulting map is posted, the quotes for the array type and JSON type end up in the wrong place, breaking the object.
Can someone help provide the equivalent B4I code to the one below
Private Sub InvokeLoginURL(UrlToInvoke As String, UserName As String, Password As String )
If WebView1.IsInitialized = False Then
Activity.AddView(WebView1, 0, 0%y...
Im using PostMultipart for sending Images files and parameters strings to a server, but i have nothing into the post responses , no images, either strings?
- is it depreciated like seen here : https://www.b4x.com/android/help/appupdating.html#deprecated_multipartfiledata,
I've been trying to integrate the Coinbase API in my app for some time now.
I was able to login and get access key with OAuth using webview.
I am only having problems Sending money doc:
curl https://api.coinbase.com/v2/accounts/2bbf394c-193b-5b2a-9155-3b4732659ede/transactions /
-X POST \...
How to do n B4A:
curl -X POST -H "Content-Type: application/text" -d "you man" http://ec2-34-244-221-70.eu-west-1.compute.amazonaws.com:5000/ ?
I try j.PostString ("http://ec2-34-244-221-70.eu-west-1.compute.amazonaws.com:5000/", "you man")
but it needs a header. so I try with header
i have a client app at phone (b4a) and a web server with iis and a vs studio 2017 web api project.
i will post data as json to server (i used okhttputils2) and the server should deserialize the data into a object/class.
but i facing the problem that nothing is deserialized and...