Reader small image

You're reading from  Hands-On Software Engineering with Golang

Product typeBook
Published inJan 2020
Reading LevelIntermediate
PublisherPackt
ISBN-139781838554491
Edition1st Edition
Languages
Right arrow
Author (1)
Achilleas Anagnostopoulos
Achilleas Anagnostopoulos
author image
Achilleas Anagnostopoulos

Achilleas Anagnostopoulos has been writing code in a multitude of programming languages since the mid 90s. His main interest lies in building scalable, microservice-based distributed systems where components are interconnected via gRPC or message queues. Achilleas has over 4 years of experience building production-grade systems using Go and occasionally enjoys pushing the language to its limits through his experimental gopher-os project: a 64-bit kernel written entirely in Go. He is currently a member of the Juju team at Canonical, contributing to one of the largest open source Go code bases in existence.
Read more about Achilleas Anagnostopoulos

Right arrow

Chapter 9

  1. The following table summarizes the CRUD endpoints for a user entity:
HTTP Verb Path Expects (JSON) Returns (JSON) HTTP Status Description
POST /users A user entry The new user entry and its ID 200 (success) or 201 (created) Create a new user
GET /users Nothing An array with user entries 200 (success) Get a list of users
GET /users/:id Nothing The user with the specified ID 200 (success) or 404 (not found) Get user by ID
PUT /users/:id A user entry The updated user entry 200 (success) or 404 (not found) Update user by ID
PATCH /users/:id A partial user entry The updated user entry 200 (success) or 404 (not found) Update individual fields for a user by ID
DELETE /users/:id Nothing Nothing 200 (success) or 404 (not found) Delete user by ID
  1. Basic authentication headers are transmitted as plaintext. By ensuring this information is transmitted over a TLS...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Hands-On Software Engineering with Golang
Published in: Jan 2020Publisher: PacktISBN-13: 9781838554491

Author (1)

author image
Achilleas Anagnostopoulos

Achilleas Anagnostopoulos has been writing code in a multitude of programming languages since the mid 90s. His main interest lies in building scalable, microservice-based distributed systems where components are interconnected via gRPC or message queues. Achilleas has over 4 years of experience building production-grade systems using Go and occasionally enjoys pushing the language to its limits through his experimental gopher-os project: a 64-bit kernel written entirely in Go. He is currently a member of the Juju team at Canonical, contributing to one of the largest open source Go code bases in existence.
Read more about Achilleas Anagnostopoulos