Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 735 Bytes

README.md

File metadata and controls

39 lines (28 loc) · 735 Bytes

< Back to Assignment

Users (Ruby on Rails)

This service stores information about a user.

Users Endpoint

Host Endpoint: http://localhost:8000/users/<id>

Docker Network Endpoint: http://user-service:8000/users/<id>

Method: GET

Description: Retrieve a specific user record, also used as a proxy for authorization if a user record can't be found.

Example Responses

Success

{
    "id": <int>,
    "first_name": <string>,
    "last_name": <string>,
}

Error

{
    "message": <error message>
}

Response Codes

Status Code Description
200 OK
404 Record not Found