Web Developer Mock Interview

Master 30 Web Developer interview questions covering front-end, back-end, and full-stack scenarios.

WRITTEN BY WILLIAM SWANSEN
QUESTION 18 OF 30

What's the difference between SOAP and REST?

"The main difference between REST and SOAP is that REST allows the programmer to use a greater variety of data formats, whereas SOAP restricts you to XML. When using these protocols with JSON, REST is generally easier to work with. It also is faster and uses less bandwidth."

Yet another technical question asking you to define the difference between two web service protocols. The purpose of this question is to determine if you know both of these protocols and to understand which one you prefer. Your research should tell you which protocol the company prefers. Whether you prefer the same one or not, you should be able to explain your answer and your rationale for your preference.

"The key difference between SOAP and REST is that SOAP uses XML while REST also supports text, JSON and other formats. I noticed that your developers tend to prefer REST as do I due to its flexibility and its support for several different formats."

William Swansen
30 QUESTIONS & ANSWERS · WEB DEVELOPER
See membership