100 likes | 122 Views
Discover the practical application of Representational State Transfer (REST) in modern web services. Explore RESTful architecture constraints, client-server model, and resource handling. Learn how to use VERB methods such as PUT, DELETE for APIs and resources. Follow a real-life scenario at NASA's Advanced Supercomputing Center. Witness the prompt deployment of sudo files through REST commands.
E N D
REpresentational State Transfer In Practice Christopher Keller Ryan Spaulding NASA Advanced Supercomputing Center Ames Research Center
RESTful Architecture Constraints Client-Server Addressable Uniform Cacheable Stateless
Semantics VERBS PUT WEB SERVICES DELETE NOUNS APIs RESOURCES GET
Our Solution In the time it took you to read this, a request has been made and the sudo file has been deployed.
command command resource (noun) resource (noun) curl -X GET -k https://sudo.nas.nasa.gov/user/ryan curl -X GET -k https://sudo.nas.nasa.gov/host/columbia1 method (verb) method (verb) Generate a sudoers file for a specific host