PrepAway - Latest Free Exam Questions & Answers

You are developing an application that analyzes population data for major cities in the United States. The app

You are developing an application that analyzes population data for major cities in the United States. The application retrieves population statistics for a city by using a web service.

You need to request data from the web service by using jQuery.

Which code segment should you use?



A. Option A

B. Option B

C. Option C

D. Option D

Explanation:

* type:

We post a SOAP request.

* data:

Data to be sent to the server.

The data option can contain either a query string of the form key1=value1&key2=value2, oran object of the form {key1: value1, key2: value2}.

Reference: jQuery.ajax()


Leave a Reply