O'Reilly logo

Cloud Native Architectures by Piyum Zonooz, Erik Farr, Kamal Arora, Tom Laszewski

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Command-line-based testing

For this, you need to run the following commands:

$ curl -X GET 'https://asdfqwert.azurewebsites.net/?zip=10001&countrycode=us&apikey=qwertyasdfg98765zxcv
"{"coord":{"lon":-74,"lat":40.75},"weather":[{"id":802,"main":"Clouds","description":"scattered clouds","icon":"03d"}],"base":"stations","main":{"temp":266.73,"pressure":1024,"humidity":44,"temp_min":266.15,"temp_max":267.15},"visibility":16093,"wind":{"speed":3.1,"deg":320},"clouds":{"all":40},"dt":1514582100,"sys":{"type":1,"id":1969,"message":0.004,"country":"US","sunrise":1514549991,"sunset":1514583454},"id":0,"name":"New York","cod":200}"  

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required