From bebf85a3b325396addceb8270cb29d66df2d1f90 Mon Sep 17 00:00:00 2001
From: MrJoshE <josheverett02@gmail.com>
Date: Sat, 29 Apr 2023 15:30:16 +0100
Subject: [PATCH] Changed put to post requests

---
 src/App.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/App.js b/src/App.js
index 47b08cc..27b88ce 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'];
-- 
GitLab