juangallostra/simple-json-server

Add PUT method

Opened this issue · 0 comments

salvq commented

The code is very simple and really very useful. It is not really an issue rather feature request.

I do think there is only missing 1 feature and it is record update i.e. PUT method, can you add this one ?

So, that would create ability to update already existing records like [...]/api/customers/2

    {
      "id": 2,
      "name": "Adam Ondra",
      "email": "aondra@sport-climber.com",
      "address": "always traveling"
    }

Thanks