Sunday 21 May 2017

Using express & Node, how can I send JSON in HTTP GET params?

I'm using express and want to pass a JSON to my HTTP GET route function: app.get('/myRoute/:data', (req, res) => {}

I can't do it using HTTP POST so I must be able to pass a JSON in the url.

Can it be done?



via Eran Shabi

No comments:

Post a Comment