Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Calling a REST service is done by URL. This means that all the information that the server needs to process your request is part of the URL (this is not entirely true due to HTTP headers, but close enough). Here is an example of a REST web service that allows you to receive live information on American airports:

httphttps://servicessoa.smext.faa.gov/asws/api/airport/status/IAD?format=xmlxlm

Go ahead, click on it to see what the current conditions at Washington Dulles Airport are. Your answer may look something like this:

...

Now, lets look again at the URL:

Code Block
httphttps://servicessoa.smext.faa.gov/asws/api/airport/status/IAD?format=xml

...

 

Panel
Section
Column
width50%

 Previous2. Simple Object Access Protocol (SOAP)

Column

Next4. Calling a SOAP service