Case for HTTP method shouldn't matter when finding a request. It is a gotcha that can lead to a frustrating debugging experience, even when using typescript, because mockResponseFor doesn't constrain the method property to only lowercase strings, so using POST for example will fail unexpectedly.
Case for HTTP method shouldn't matter when finding a request. It is a gotcha that can lead to a frustrating debugging experience, even when using typescript, because mockResponseFor doesn't constrain the method property to only lowercase strings, so using
POST
for example will fail unexpectedly.