Skip to Content
Cloud Computing, 2nd Edition
book

Cloud Computing, 2nd Edition

by Kris Jamsa
March 2022
Intermediate to advanced
400 pages
10h 10m
English
Jones & Bartlett Learning
Content preview from Cloud Computing, 2nd Edition

Understanding RESTful Services

Developers can use a variety of programming languages and approaches to implement web services. One of the most common approaches is to create a RESTful service. The REST in RESTful service stands for Representational State Transfer, which defines how an application must interact with the services. Developers can create RESTful services using any programming language. The following PHP script, Uppercase.php, converts the parameter it receives to uppercase characters:

The program reads as follows: Line 1: open angle bracket question mark p h p. Line 2: header open parenthesis double quote Access hyphen Control hyphen Allow hyphen Origin colon asterisk double quote close parenthesis semicolon. Line 3: header open parenthesis double quote Content hyphen Type colon application slash json semicolon charset equals U T F hyphen 8 double quote close parenthesis semicolon. Line 4: echo strtoupper open parenthesis dollar underscore GET open bracket double quote name double quote close bracket close parenthesis semicolon. Line 5: h t t p underscore response underscore code open parenthesis 200 close parenthesis semicolon. Line 6: question mark close angle bracket.

The script’s processing is straightforward. As you can see, the script uses the PHP $_GET function to retrieve the name passed to the script as a query-string ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Cloud Computing

Cloud Computing

Gopal Shyam
Cloud Computing For Dummies, 2nd Edition

Cloud Computing For Dummies, 2nd Edition

Judith S. Hurwitz, Daniel Kirsch

Publisher Resources

ISBN: 9781284233988