I have an endpoint like this:
app.post('/sendCode', async (req, res) => {
const { code } = req.body;
});
And url like this:
http://localhost:3000/sendCode?code=ABCDEFG%##HIJKLMNOPRS
So when I enter this link in the browser I will trigger the endpoint. This works. However my code
taken from req.body
cuts out the second part of the code. So in my endpoint I see only ABCDEFG%
part, the second is cut off. How can I get whole ABCDEFG%##HIJKLMNOPRS
?