I'm building an api using node and express and am running into issues with body-parser stripping the request body when I use custom content-type headers.
For example. When my content-type header is merely application/json, the request body comes through properly. When I switch my content-type header to our company custom content-type of application/vnd.company.type+json, the middleware seems to interfere and remove the body.
I've already visited a lot of SO questions regarding empty request bodies that tell me to make small changes to the body-parser config and whatnot and they don't work. Any idea how to go about this?