I'm using Jetty Client
to request a API Web
, until recently everything was ok, but I felt the need to send data via POST.
Problem
In Jetty's documentation says that POST request data should be passed by the param("chave", "valor")
method, however the data is being passed via query-string
Request r = client.POST(url).param("access_token", accessToken);
The request is being in this format:
api.web.com/?access_token=1727020009.2da29da.ed9bdd6cc095430e8f1640bbeeas
I also checked the wireshark message
Has anyone ever encountered this problem?