Hi, I added a url:
api.post('/access_token', function(req, res) {}
My curl post is:
curl -X POST \
-H "X-Parse-Application-Id: cn67FArPjbz46E6CprmZsbCXvo2PDRDgcneRoyp3" \
-H "Content-Type: application/json" \
-d '{"uid":2882341273,"channelName":"7d72365eb983485397e3e3f9d460bdda"}' \
http://localhost:1337/parse/access_token
However, the received post request does not have body when I tried to use req.body
.
Is this because this sentence in ParseServer.js
api.use(express.json({ type: '*/*', limit: maxUploadSize }));
?
What does type: */*
mean here?
Thanks