If you're using GET, don't you need to embed the query string in the URL?
I believe you use the "send(queryString)" function when you're doing a POST. Similarly, the "application/x-www-form-urlencoded" content-type is only needed when sending POST data.
Try:
OCPJP
"In preparing for battle I have always found that plans are useless, but planning is indispensable."
-- Dwight D. Eisenhower
raul saini
Greenhorn
Joined: May 18, 2010
Posts: 18
posted
0
Pete Nelson wrote:If you're using GET, don't you need to embed the query string in the URL?
I believe you use the "send(queryString)" function when you're doing a POST. Similarly, the "application/x-www-form-urlencoded" content-type is only needed when sending POST data.
Try:
Even if I'm using POST, it is giving the same error.
--EDIT... GOT it done...thanks
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15003
posted
0
you should set onreadystate BEFORE you send it!
Eric
Bear Bibeault
Author and opinionated walrus
Marshal