You need to sign in to do that
Don't have an account?

Rest API Java request JSON response
Hello,
I have a problem with my Java rest API request.
I would like to have the full JSON response, I explain.
For example, in Java, here is what I have for response code :
And for response message :
Using something else, the code is the same but the message is :
This is what I would like to have in Java, using HttpURLConnection.
How can I do this ?
Thank you,
COFFIN Brandon
I have a problem with my Java rest API request.
I would like to have the full JSON response, I explain.
For example, in Java, here is what I have for response code :
400
And for response message :
Bad request
Using something else, the code is the same but the message is :
Item designation/marking: data value too large: DECOR ENTIER \"COMMUNE DE CONTHEY+EAUX CLAIRES\" 400KN (max length=60)
This is what I would like to have in Java, using HttpURLConnection.
How can I do this ?
Thank you,
COFFIN Brandon
All Answers