Aah ok. So what you are saying is, in case of GET i should append it
to the URL itself as part of the query parameters and use setData or
pass it via sendRequest only when using a POST (i.e. sending data via
body).

On Jan 3, 5:47 pm, Thomas Broyer <t.bro...@gmail.com> wrote:
> A GET request has no "body", and the first argument to sendRequest
> (equivalent to calling setData) represents the request body. Therefore,
> passing anything other than null or an empty string makes no sense for a
> GET request. Your "workaround" is actually the proper way of doing it.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to