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.
I am looking for an old code, because the program must run on a device with android 5, that allows me to simply receive a json text. For this reason I use the Http library instead of the okhttputils2.
I tried using the OkhttpUtils2 library, but a handshake ssl error appears. that despite...
I have been using httputil for a long time, and with every thing we have done so far we are building the calls using something similar to the code below
Array As String("key1", "value1", "key1", "value2"))
I have a problem with string comparison, the line
IF fcmToken = webFcmToken then always fails (see code below).
I have viewed tokens with in debug an they appear identical. Also tried .trim and even .toupper but still failed the comparison.
Also tried fcmToken.compare(webFcmToken) and...
Hi, I have a strange error when I try to feed the table, I simply get data from an API and insert it in a table but it returns an error that I have no idea what it means, since I do not use SQLite.
Error occurred on line: 601 (B4XTable)
android.database.sqlite.SQLiteException: near ")": syntax...
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 \...
I am using the ZXing library to scan a barcode which returns in the zx1_scan_result () routine. I currently call a subroutine in my activity that displays the scan result in a text field. However, what I need to accomplish is to take the scantext value, launch an httpjob to do an SQL query and...
How can I get the headers from the response in a non-ui application ?
I recall that Erel provided a code to replace in the Httputils source to expose the headers, but how can i do it in non UI app ?
code provided by Erel
Sub hc_ResponseSuccess (Response As HttpResponse, TaskId As Int)
I am trying to send a string with a post method and some headers.
Non Ui application
Dim ListaBill As List