O'Reilly logo

Distributed Computing with Go by V.N. Nikhil Anurag

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

POST

REST uses the POST verb to create a new item of the specific resource type. Resource creation might require extra information, which is provided in the body of the POST request. The information being provided as part of the body has to be in the data format the REST server can handle. POSTing to /api/books signifies that we want to add a new book to the list of books in our library.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required