Android Question Problem with Api rest, Json, Put.

Discussion in 'Android Questions' started by AldoRodrigo, Jun 20, 2018.

  1. AldoRodrigo

    AldoRodrigo Member Licensed User

    Hello,
    I have a problem I need to send a json with the put method to an api. The json is:

    Code:
    {
        
    "person" : {
        
    "User" : "Rodrigo",
        
    "Pass" : "xx123"
        
    },
        "answers" : [
            {
                "NmbItem" : "Item 1",
                "DscItem" : "Descripción del item 1",
                "QtyItem" : "3",
                "UnmdItem" : "KG",
                "PrcItem" : "100"
            },
            {
                "NmbItem" : "Item 2",
                "DscItem" : "Descripción del item 2",
                "QtyItem" : "5",
                "UnmdItem" : "KG",
                "PrcItem" : "65"
            }
        ]
    }

    and the api must return a true or false, whether process or not information.
    and show the true or false in b4a

    Is there a full tutorial or full example?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice