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 in开发者_JS百科put url.
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?
精彩评论