Could I somehow capture the echos and use them in my java client? I'm trying to obtain a jwt from the server so my client can use it and send a message to the server.
Asked
Active
Viewed 39 times
-5
-
have you *tried anything* so far? for example a httpClient or something? – Franz Gleichmann Dec 06 '16 at 07:04
-
2The `echo` is just the output of an HTTP response. So if you use any HTTP client, you can capture this output. – Anthony Dec 06 '16 at 07:07
-
@AnimatedLime "having a php server" does *not* count in any way as *trying* for what you want to do.... – Franz Gleichmann Dec 06 '16 at 07:08
1 Answers
-1
See this answer, where there is an HTTP request and response, so it's possible to capture the answer.
-
-
Thanks! this is exactly what I'm looking for. I didn't know what to search for. – AnimatedLime Dec 06 '16 at 07:15
-
1I just searched `Java HTTP Client` :). Indeed it should be marked as duplicate, I'll flag it. – Anthony Dec 06 '16 at 07:16