RESTful Web Services Tutorial

What is REST?

REST in official words, REST is an architectural style built on certain principles using the current “Web” fundamentals. There are 5 basic fundamentals of web which are leveraged to create REST services. Principle 1: Everything Read more…


Best Practices for RESTful Web Services Development

First part My main goal is to focus attention on the reason for the name “representational state transfer”. I think that the most of misundertandings about the REST goes under the adjective “representational”. Most people Read more…


What exactly is RESTful programming?

REST is the underlying architectural principle of the web. The amazing thing about the web is the fact that clients (browsers) and servers can interact in complex ways without the client knowing anything beforehand about the Read more…


Best way to return error messages on REST services?

The correct REST approach for errors is to use the HTTP status codes. There is a bewildering array of them (as you can see here) and you might be surprised to see how many may Read more…


HTTP Methods for RESTful Web Services

Correct Representation of a RESTful Architecture: /api/users when called with GET, lists users /api/users when called with POST, creates user record /api/users/1 when called with GET, shows user record when called with PUT, updates user Read more…

PUT vs. POST in REST

You can find assertions on the web that say POST should be used to create a resource, and PUT should be used to modify one PUT should be used to create a resource, and POST should be used to modify one Read more…


What does RESTful Authentication mean and how does it work?

How to handle authentication in a RESTful Client-Server architecture is a matter of debate. Commonly, it can be achieved, in the SOA over HTTP world via: HTTP basic auth over HTTPS; Cookies and session management; Read more…


Form-based authentication for websites

PART I: How To Log In We’ll assume you already know how to build a login+password HTML form which POSTs the values to a script on the server side for authentication. The sections below will Read more…


How I Explained REST to My Wife

Wife: Who is Roy Fielding? Ryan: Some guy. He’s smart. Wife: Oh? What did he do? Ryan: He helped write the first web servers and then did a ton of research explaining why the web Read more…


Best practices for API versioning?

This is a good and a tricky question. The topic of URI design is at the same time the most prominent part of a REST API and, therefore, a potentially long-term commitment towards the users of that API. Since Read more…


Best Practices for securing a REST API / web service

There is a great checklist found on Github: Authentication Don’t reinvent the wheel in Authentication, token generation, password storage. Use the standards. Use Max Retry and jail features in Login. Use encryption on all sensitive data. JWT (JSON Read more…


SOAP vs REST

REST(REpresentational State Transfer) REST is an architectural style. It doesn’t define so many standards like SOAP. REST is for exposing Public APIs(i.e. Facebook API, Google Maps API) over the internet to handle CRUD operations on data. REST Read more…


REST and SOAP fundamentals

The decision between the two will be your first choice in designing a web service, so it is important to understand the pros and cons of the two. It is also important, in the sometimesRead more…


Advantages of REST and SOAP. Where to use REST or SOAP?

Advantages of REST Since REST uses standard HTTP, it is much simpler in just about every way. Creating clients, developing APIs, the documentation is much easier to understand, and there aren’t very many things that Read more…


Differences between SOAP and RESTful web services

Difference between Rest and Soap SOAP SOAP is a protocol. SOAP stands for Simple Object Access Protocol. SOAP can’t use REST because it is a protocol. SOAP uses services interfaces to expose the business logic. Read more…


What is the difference between stateful and stateless?

SOAP vs REST One of the major benefits of SOAP is that you have a WSDL service description. You can pretty much discover the service automatically and generate a useable client proxy from that service Read more…

Like what you read? Give RAHUL PATEL a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.