On Oct 21, 4:59 pm, Márcio Menezes <[email protected]> wrote:
> Hi!.
> Why does everytime I try to send a POST through RequestBuilder class and if
> I add some header into it, the method goes as an OPTIONS, instead of post?
>
> Has anyone experienced this? How can I work around it?
See

http://en.wikipedia.org/wiki/Same_origin_policy
https://developer.mozilla.org/En/HTTP_Access_Control

work around by having html&js served by the same host used to receive
the requests. You can use an iframe on that host, with src pointing to
another if needed.

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

Reply via email to