When handling POST data, is there any way how to differ between multipart/form-data
and application/x-www-form-urlencoded
?
If you are using express then in your middleware you can find the Content-Type set in headers using
req.headers['Content-Type']
This will return the type of post data.