pnxtech / hydra-router

A service aware router for Hydra Services. Implements an API Gateway and can route web socket messages.
MIT License
60 stars 26 forks source link

Convert form-url encoded content-type to json & use qs parser #185

Closed lucidsif closed 4 years ago

lucidsif commented 4 years ago

This change seems to be the cleanest with minimal changes to the surface area without also updating any other libraries (like hydra or UMF). Previously, we are unable to send any requests with form url encoded body params whereas now form url encoded body params will be converted to json body params.

Pre-change logs image

Post-change logs image

cjus commented 4 years ago

Thanks @lucidsif this looks good.