1. lnxpy

    Android Question Getting "Bad Request" in posting JSON Data to an Endpoint

    Hey guys, hope you're doing well. I want to create an application to post some JSON data to an endpoint and get a field from the returned response. Whenever I click the button it takes back with the "Bad Request" error and says that two "title" and "script" fields are required. (I've already...
  2. Sandman

    Android Question [SOLVED] Sanity Check: OkHttp_ResponseError and StatusCode=200 at same time?

    I have a few users seeing a rare error that I have never seen myself when testing my app, so I'm working my way through the source to figure out what's happening. And now I have to ask a control question to the forum: In OkHttp, is it possible to enter ResponseError, and at the same time have...
  3. juniorteacher

    Android Question No Error but No File Uploaded,use PostMultipart

    I Follow Tutorial https://www.b4x.com/android/forum/threads/upload-image-to-server-postmultipart-and-php.82682/#post-525412 No error but no fileuploaded here is my project thanks for help, solved
  4. F

    Android Question Migrating from Http to OkHttp

    I HAVE Dim webclient As OkHttpClient Dim webrequest As OkHttpRequest THEN Sub webClient_ResponseSuccess (resp As OkHttpResponse, TaskId As Int) xml = resp.GetString("UTF8") RELATED TO THE OLD Http LIBRARY. What is the equivalent instruction for OkHttp??? Many many thanks to solvers.
  5. shb777

    Android Question run code only when all jobs completed successfully

    I'm using OkHttp library and running three jobs, Job1, job2 and job3. I have code i only want to run when all three jobs have completed successfully. Where do I put that? The only way I can think of doing it, is start a timer that keeps checking until all three are true. I Wonder if there's an...