Hi Guys, to give context, i am using Angular 2 and Typescript, my server is Django, and stream-http==2.6.3.
My server provides a custom verb named GETX, and its purpose is to have the query parameters be its body instead of being part of its URL. This is to solve the URL length limit problem with servers and to retrieve a specific set of data by using a more complex query.
Hi Guys, to give context, i am using Angular 2 and Typescript, my server is Django, and
stream-http==2.6.3
.My server provides a custom verb named
GETX
, and its purpose is to have the query parameters be its body instead of being part of its URL. This is to solve the URL length limit problem with servers and to retrieve a specific set of data by using a more complex query.Instead of:
We use:
Both calls below work in the NodeJS shell but when compiling it using
ng build
then serving them to the browser:GETX
does not have a body.The code that prevents me from using a body for custom verbs is lib/request.js:102 of this project:
May i ask that custom verbs be allowed to have a body or some sort of option to allow such?