Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ipanardian committed May 25, 2019
1 parent 2938dfb commit 1fe5f53
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions README.md
Expand Up @@ -22,3 +22,42 @@ Sample Response:
]
}
```

*POST http://localhost:8080/api/v1/employees*
```javascript
{
"code": 200,
"message": "success",
"result": {
"id": 5,
"name": "Ipan Ardian",
"position": "VP Engineer"
}
}
```

*PUT http://localhost:8080/api/v1/employees/{id}*
```javascript
{
"code": 200,
"message": "success",
"result": {
"id": 5,
"name": "Ipan Ardian",
"position": "VP Engineer"
}
}
```

*DELETE http://localhost:8080/api/v1/employees/{id}*
```javascript
{
"code": 200,
"message": "Employee deleted successfully",
"result": {
"id": 5,
"name": "Ipan Ardian",
"position": "VP Engineer"
}
}
```

0 comments on commit 1fe5f53

Please sign in to comment.