JSON requests with authorization and cross-site

2010-10-05 Thread Wouter
Hi there, im quite new to GWT and i can not figure this one out... I want to do a JSON request to a server which would normally show me a popup to fill in my username and password. How can i access this with GWT? i tried the request builder and using setPassword and setUser but it doesnt work for

Re: JSON requests with authorization and cross-site

2010-10-05 Thread lineman78
If it is basic auth then you should just be able to use JSONP, since it is cross site, if form auth you will need to have them auth before making the request. Remember you can't make cross site requests directly, but JSONP allows you to work around that. Since it is an authenticated request a