diff --git a/src/App.js b/src/App.js index 47b08ccf7743890e5b6194a1df84141c3c073ab8..27b88cec4b6c5571f9257508bc2989b0acc1c3a9 100644 --- a/src/App.js +++ b/src/App.js @@ -49,7 +49,7 @@ app.get('/location/parking-location/:id', async (request, response) => { }); -app.put('/location/parking-location/decrement/:id',async (request, response) => { +app.post('/location/parking-location/decrement/:id',async (request, response) => { try { const bearerHeader = request.headers['authorization']; @@ -98,7 +98,7 @@ app.put('/location/parking-location/decrement/:id',async (request, response) => }); -app.put('/location/parking-location/increment/:id', async (request, response) => { +app.post('/location/parking-location/increment/:id', async (request, response) => { try { const bearerHeader = request.headers['authorization'];