---
# System prepended metadata

title: ATLAS - Rest API with Spring boot (part 2-bis)

---

# ATLAS - Rest API with Spring boot (part 2-bis)

## Context
See [part 1](https://hackmd.io/OAcft3gBT0SkV-SF__rGeg) for details on the context.

## Prerequisites
Finish [part 2](https://hackmd.io/i3v5yE5RT6qfPobewqriqA).

## New routes

### Update a resource
Expose new routes in order to update (fully) a country, a capital and a continent.

Routes should obey Rest conventions, be declared in the correct controller, and update the related entity in the database.

Test!

### Delete a resource
Expose new routes in order to delete a country, a capital and a continent.

Routes should obey Rest conventions, be declared in the correct controller, and delete the related entity in the database.

Test!