Skip to Content
Building RESTful Web Services with .NET Core
book

Building RESTful Web Services with .NET Core

by Gaurav Aroraa, Tadit Dash
May 2018
Intermediate to advanced
334 pages
7h 25m
English
Packt Publishing
Content preview from Building RESTful Web Services with .NET Core

Request and response

Now that we have had a quick look at the demo ValuesController, let's examine exactly how the client sends the request and how it receives the response.

A REST request generally consists of the following:

  • HTTP verb: This denotes what kind of operation the requests want to perform on the server.
  • Header: This element of the REST request allows the client to pass more information about the request.
  • URL: The actual path to the resource that the REST request wants to operate on.
  • Body: The body can contain extra data related to a resource to identify or update it. This is optional though.
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.
Start your free trial

You might also like

Hands-On RESTful Web Services with ASP.NET Core 3

Hands-On RESTful Web Services with ASP.NET Core 3

Samuele Resca
Microservices in .NET Core

Microservices in .NET Core

Christian Horsdal Gammelgaard

Publisher Resources

ISBN: 9781788291576Supplemental Content