Web service & content-type application/x-www-form-urlencoded
Posted: Wed Jun 25, 2025 2:20 pm
Hello everyone, I am trying to consume a web service to obtain a token via user and password.
The content-type must be application/x-www-form-urlencoded.
The credentials must be passed in the format:
grant_type=client_credentials&client_id=Your_client_ID&client_secret=Your_secret.
If I try to consume the web service via SoapUI, the token is correctly returned.
If I consume it via HTTPAPI from Iseries, nothing seems to be transmitted.
I attach the log from debugging.
Thank you for your support.
Alessandro Carosso
The content-type must be application/x-www-form-urlencoded.
The credentials must be passed in the format:
grant_type=client_credentials&client_id=Your_client_ID&client_secret=Your_secret.
If I try to consume the web service via SoapUI, the token is correctly returned.
If I consume it via HTTPAPI from Iseries, nothing seems to be transmitted.
I attach the log from debugging.
Thank you for your support.
Alessandro Carosso