You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Http.request forces all requests to be GET requests #5309
I was writing an authentication wrapper for http and I am passing all my methods through http.request since I do not have (or want) access to base options or the mergeOptions function.
http.request passes RequestMethods.Get to all calls to mergeOptions, which then overwrites my passed method of Post.
The default method is Get in the base options, so passing Get is redundant, and the arguments to mergeOptions should be rearranged so that method is optional.
Hi, just to add that it only happens when you pass an url as a parameter.If you pass a request, it makes use of the options passed to create the Request instance.
Activity
bpquintanilha commentedon Nov 18, 2015
Hi, just to add that it only happens when you pass an url as a parameter.If you pass a request, it makes use of the options passed to create the Request instance.
angular-automatic-lock-bot commentedon Sep 7, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.