Tuesday, January 3, 2012

Re: RequestBuilder.sendRequest not working as expected

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 view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/H-9yA3WG0-kJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment