Jquery.post doesn’t play nice with bodyparser.json
Yaniv Goldobin
111

What you’ve hit upon is the value in server-side methods. Usually more secure for certain types of requests.

But no it is not necessary to parse in jQuery if you’re parsing in Express, but it should be clear that a production app will process this as a server method and not in the browser client.

This may not always suit your use case, so be sure you know why you’re using either method.

Like what you read? Give Christopher Shaffer a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.