How do i use GWT Request builder to pass on a String from my GWT code to a website www.xyz.com.It would be greatly helpful if i can get the code for doing this.
Thanks
If you want to just send a string, then you can do something simple like add an Image/<img> with src pointing to www.xyz.com + the string you want to send - the src won't be pointing to an image actually (of course), it's just that you can sidestep SOP (Same Origin Policy). Of course, you have to handle the requests for "the image" appropriately on www.xyz.com (and make sure the broken image is hidden/not shown on the client side).
Anyway, that's the basic idea - a <script> tag would work too.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With