hi
i send data putstring with postman run successful but run in b4i v7.5 don't send data
please help
return
{"code":"422","error":true,"message":"خطا در اعتبار سنجی","data":[{"message":"required validation failed on email","field":"email","validation":"required"}]}
on postman
i send data putstring with postman run successful but run in b4i v7.5 don't send data
please help
send by this code:
Dim j As HttpJob
j.Initialize("",Me)
Dim str As String = "http://194.5.205.91:3333/api/v1/client/user/info"
Dim str1 As String = $"birthdate=${txtBirthDate.Text}&email=${txtEmail.Text}&fullname=${txtName.Text}&tel=${txtTel.Text}&nationalcode=123456&mobile=${txtMobile.Text}"$
Log(str1)
j.PutString(str,str1)
j.GetRequest.SetHeader("authorization",Public_mdl.Token)
Wait For (j) jobdone (j As HttpJob)
hud.ProgressDialogHide
If j.Success Then
Dim str As String = j.GetString
Log(str)
nav.RemoveCurrentPage
Else
Log(j.ErrorMessage)
End If
return
{"code":"422","error":true,"message":"خطا در اعتبار سنجی","data":[{"message":"required validation failed on email","field":"email","validation":"required"}]}
on postman
Last edited: