Android Question [Solved] Job with wait for into a class

    Hello, I have a lot of sub routines that execute some poststrings actions with an ASP API. So i have put the whole in a separate Code Module , like for example sending email directly via the API (its more simpler and lighter for the app) : Sub SendAnEmail(QSTT As String, QSMESS As String...
  2. cesarcm

    Android Question "message": "Request must have \"Content-Type: application/json\" header"

    Hi all, Please, HELP ME! I am getting the error below using job.PostString(link, data) I am using B4A v8.00 and OkHttpUtils2 (v2.61) ResponseError. Reason: UNSUPPORTED MEDIA TYPE, Response: { "message": "Request must have \"Content-Type: application/json\" header" } Source-code: ...
  3. Pedro Caldeira

    B4J Question Http poststring with headers

    I am trying to send a string with a post method and some headers. Non Ui application code below Dim ListaBill As List ListaBill.Initialize ListaBill.Add("<?xml version='1.0'?>") ListaBill.Add("<methodCall>") ListaBill.Add("<methodName>RequestServer.RequestBill</methodName>")...