jameslnewell / xhr-mock

Utility for mocking XMLHttpRequest.
196 stars 48 forks source link

Correct wrong source code in README.md #12

Closed kyasbal closed 8 years ago

kyasbal commented 8 years ago

The comment in the sample was not corresponded with what the code actually behave.

jameslnewell commented 8 years ago

Thanks!

jameslnewell commented 8 years ago

On a closer look, I think it was supposed to be a POST (setting the content header and sending a JSON body).

Still, thanks for the PR!