Android Question Problem with Api rest, Json, Put.

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:

B4X:
{
    "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?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…