Saturday, 22 April 2017

Do I need to use URL encoded in express?

I couldn't find anywhere else appropriate to ask this. I'm currently building an api. It just uses json. It doesn't render any views. I was looking at the documentation about bodyParser.urlEncoded.

Question is. Do I need this middleware if all I'm using is Json? I still don't see a need for this urlEncoded middleware. If I do use this. Should I set extended to true or false?



via Nate

No comments:

Post a Comment