API, HTTP-GET, REST
Added on March 25th, 2015

Temperature Converter Web Service

Temperature Converter Web Service
Just provide this service with a URL that includes a GET parameter like the following.

?temp=40&scale=F

The temp parameter is just a number that represents the temperature in either Fahrenheit or Celsius. If provided a Celsius temperature, the web service will return a string, like 52.2F. If provided a Fahrenheit temperature, it will return a Celsius... Here's the URL: https://php.radford.edu/~jcdavis/D2L/classes/it425/lectmat/webserv/tempws_api.php Here's the URL with an appended GET parameter: https://php.radford.edu/~jcdavis/D2L/classes/it425/lectmat/webserv/tempws_api.php?temp=40&scale=F
More information: https://php.radford.edu/~jcdavis/D2L/classes/it425/lectmat/webserv/tempws_api.php