I’m making a simple POST request. That is url and form-data:
It worked fine in PostMan and Python. But in Xojo, response is 404 Page not found That is my code:
Dim urlGetGroup As String = "https://api.appota.com/collection/get_group?access_token=6af5d59b24c75b952076b2e7c3583909052f33e75&lang=en"
Dim formData As new Dictionary
formData.Value("store") = "android"
formData.Value("client") = "kulsbox"
RequestDataHandler.SetFormData(formData)
RequestDataHandler.Post(urlGetGroup)
@Wayne Golding : Many thanks. When I try with HTTPSecureSocke, it return 200 response. But I still can not understand why I get 404 with HTTPSocket @Michel Bujardet : That is a POST request. Opening the url with Chrome is not a right way.