A AldoRodrigo Member Licensed User Jun 20, 2018 #1 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?
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?
Erel B4X founder Staff member Licensed User Longtime User Jun 21, 2018 #2 Start with: https://www.b4x.com/android/forum/threads/b4x-okhttputils2-with-wait-for.79345/#content Upvote 0