Reputation: 2797
How can i call a restfull web service by a web browser if i have complex objects like hashmap or arraylist on the server side.I have found sample java clients but no help for doing it from web browser.. For instance if my web service waiting an arraylist of string objects how to differentiate this from a service which expects more than one string parameters on the input url.
Upvotes: 0
Views: 1346
Reputation:
That very much depends on what the server accepts as the body of your HTTP request and what it can return. In REST, there is no such thing as a List of Strings. You pass and receive Representations of Resources.
So what are your Resources? What are their Representations?
Upvotes: 1