Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GWT RequestBuilder

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

like image 725
Barry Avatar asked Jul 23 '26 06:07

Barry


1 Answers

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.

like image 195
Igor Klimer Avatar answered Jul 25 '26 19:07

Igor Klimer



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!