how to send complex json object in poststring method ?
B4X:
Dim j As HttpJob
Dim orders As HttpJob
j.Initialize("Job2", Me)
j.PostString("https://vvvcom/auth/login/", "username=1234&password=ssss@123") ' this works fine
now i want to pass the following json object to j.poststring method
{
"mtp":[
{
" mrip":123
}
],
"smm":{
"ss":"CALLING_SERV"
}
}
j.PostString("https://vvvcom/details/", json object) ' how to pass?