Closed DavidLarsKetch closed 6 years ago
Updates app.js so we don't have merge conflicts with the extra HTTP verbs we're working on.
app.js
HTTP
N/A
A middleware solution was needed to get data from requests into proper JSON format
JSON
Prepends api/v1 to all URL paths. Gives access to body-parser middleware for POST, PUT, etc. verbs
api/v1
URL
body-parser
POST
PUT
body-parser gets our data into JSON format for the sake of those HTTP calls we're making
git merge [your-branch] dlk-app-update
npm install
lol
hit the wrong button
OK, ready
testing!
Description
Updates
app.js
so we don't have merge conflicts with the extraHTTP
verbs we're working on.Number of Fixes
N/A
Related Ticket(s)
86
Problem to Solve
A middleware solution was needed to get data from requests into proper
JSON
formatProposed Changes
Prepends
api/v1
to allURL
paths. Gives access tobody-parser
middleware forPOST
,PUT
, etc. verbsExpected Behavior
body-parser
gets our data intoJSON
format for the sake of thoseHTTP
calls we're makingSteps to Test Solution
git merge [your-branch] dlk-app-update
npm install
PUT
orPOST
function in the feature you're working on