Hi,this is my code.i have tryied almost anything and it doenst work. var url = "https://facilservicios.com/servicioDesarrollo.php"; var method = "post"; var contentBody={ }; contentBody["metodo"] = "ListaArticulosNetgamez"; contentBody["ID"] =_token; contentBody["Proyecto"] ="Quantum"; var contentType = "application/x-www-form-urlencoded"; var headers = {}; var responseString = http.request(url, method, JSON.stringify(contentBody), contentType,headers);
the endpoint responds with bad request because body content is not reconized by the end point,i tryied it on postman and c# httpclient and it works fine.