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

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Last call! Secure your stack and shape the future! Help dev teams across the globe navigate their software supply chain security challenges.

Modernize your data layer. Learn how to design cloud-native database architectures to meet the evolving demands of AI and GenAI workloads.

Releasing software shouldn't be stressful or risky. Learn how to leverage progressive delivery techniques to ensure safer deployments.

Avoid machine learning mistakes and boost model performance! Discover key ML patterns, anti-patterns, data strategies, and more.

Related

  • 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
  • Develop a Spring Boot REST API in AWS: PART 4 (CodePipeline / CI/CD)

Trending

  • Performance Optimization Techniques for Snowflake on AWS
  • Contextual AI Integration for Agile Product Teams
  • How to Format Articles for DZone
  • Docker Base Images Demystified: A Practical Guide
  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.2K 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

  • 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
  • Develop a Spring Boot REST API in AWS: PART 4 (CodePipeline / CI/CD)

Partner Resources

×

Comments

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

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

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 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: