DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • GraphQL vs REST API: Which Is Better for Your Project in 2025?
  • Update User Details in API Test Client Using REST Assured [Video]
  • Create User API Test Client With REST Assured [Video]
  • How to Make a REST API Call in Angular

Trending

  • How SaaS Architectures Break at Scale — and the Engineering Decisions That Prevent It
  • Mocking Kafka for Local Spring Development
  • Why Your Test Automation Is Always Behind the Code And the Architecture That Fixes It
  • Feature Flag Debt: Performance Impact in Enterprise Applications
  1. DZone
  2. Software Design and Architecture
  3. Integration
  4. Results of the Ultimate REST API Challenge

Results of the Ultimate REST API Challenge

SmartBear Software launched the Ultimate REST API Challenge for two weeks. Here are the answers to the eight-question quiz, with explanations for each one.

By 
Rema Alyahya user avatar
Rema Alyahya
·
Oct. 04, 16 · Opinion
Likes (1)
Comment
Save
Tweet
Share
4.3K Views

Join the DZone community and get the full member experience.

Join For Free

A few weeks ago, SmartBear Software launched the Ultimate REST API Challenge for two weeks. 

screen-shot-2016-09-23-at-10-45-25-am

Spoiler alert! The answers to the eight-question quiz are below, with an explanation for each correct answer. The difficulty of each question varied, with only 49% of participants answering the most difficult question correctly, while 92% got the right answer on the easiest question.

If you would like to take the challenge to see how you stack up before seeing the answers, click here.

1. REST stands for

  • Recode End State Transfer
  • Reference State Transfer
  • Representational State Transfer (77% answered this correctly!)
  • Request State Transfer

REST stands for Representational State Transfer. While it is usually spelled in all caps, it is sometimes spelled as “ReST”.

2. Which one of these is NOT a method of REST?

  • DELETE
  • GET
  • PUT
  • STORE (90% answered this correctly!)          

STORE is not a method of REST. Only DELETE, GET, PATCH, PUT, and GET are methods of REST.

3. True or False: REST has fewer security risks than SOAP.

  • True
  • False (57% answered this correctly!)

This is false, as REST has more security risks than SOAP. Over the years, SOAP has added extensions to deal with transactional messaging specific security considerations. REST, on the other hand, does not implement any specific security patterns, mainly because the pattern focuses on how to deliver and consume data, not how to build in safety into the way you exchange data. 

4. What percent of all public APIs are REST APIs?

  • 10%
  • 30%
  • 55%
  • 70% (49% answered this correctly!)

While SOAP used to dominate the API space, 70 % of all public APIs are REST APIs.

5. True or False: The Foundation of REST API comes from a PhD student’s doctoral dissertation.

  • True (81% answered this correctly!)
  • False

Back in 2000, Roy Fielding presented his doctoral dissertation at University of California-Irvine on the representational state transfer and set the foundation for REST.

6. While SOAP is an API protocol, REST is merely a set of…

  • Guidelines (92% answered this correctly!)
  • Diagrams
  • Letters
  • Numbers

REST is not a protocol or standard. REST architecture is simply following certain guidelines for how a well-designed Web app behaves, in a logical organization that involves a series of links that then result in the next page for the user.

7. REST APIs would not work in which scenario?

  • Reading information from a server or database
  • A LinkedIn profile
  • Big games like Call of Duty or World of Warcraft (76% answered this correctly!)
  • Ordering information

REST APIs and APIs in general would never work for the big games like Call of Duty or World of Warcraft, where there’s a real-time voice chat system among the players based anywhere in the world. These games avoid APIs like the plague, going for really fast and compressed binary data dumps that allow for real-time data transfer, not waiting for API calls. protocol or standard. REST architecture is simply following certain guidelines for how a well-designed Web app behaves, in a logical organization that involves a series of links that then result in the next page for the user.

8. Which one of the following is not a benefit of REST APIs?

  • Faster than SOAP
  • Built-in error handling (67% answered this correctly!)
  • Closer to other Web Technologies in design philosophy

The benefits of REST include that REST is faster than SOAP because it does not require extensive processing, and that it is closer to other Web technologies in design philosophy.

REST Web Protocols API

Published at DZone with permission of Rema Alyahya. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • GraphQL vs REST API: Which Is Better for Your Project in 2025?
  • Update User Details in API Test Client Using REST Assured [Video]
  • Create User API Test Client With REST Assured [Video]
  • How to Make a REST API Call in Angular

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook