jQuery Request and Response

jQuery Request and Response

Hello All,

This is my first post in this forum (I am also very new to the jQuery world).

I need some help with the following:

From my application server I need to send multiple request to another 3rd Party server and get all the response back.

like the URL can be

www.testRequest.com/Test
www.TestRequest123.com/Test123
www.TestReq123.com/TestReq123?par=123

Number of URL is not fixed, it can be 1 or more.

Now as I mentioned I have to send all the request to one server one by one (the URLs) and have to wait for responses (response code).

My questions are:
1) What is the best way to capture all the URL (in an array ?)
2) What is the best way (or how) to send the request to the Server one by one ?
3) How do I capture all the responses in one variable (or one place) ?

If you need more information, feel free to let me know. Thank you in advance.

Himu