I'm defining a RESTful WebService in Java.
It takes as input:
- an username (for instance,
jdoe
); - an URL (for instance:
https://blablablabla.io/sample?boh=mah
).
By using GET method of the HTTP protocol, it should produce a JSON
file.
Which is the best way to pass these params?
In this particular case, is there a best practice to follow in order to properly pass an URL as param?