A / superagent-mocker

Pretty simple in-browser mocks for CRUD and REST API
132 stars 32 forks source link

Allow non object data to be handled in the request body via `send()` #36

Closed kmudrick closed 8 years ago

kmudrick commented 8 years ago

I ran into an issue where I am sending a string as the request body in PUT and POST operations. Previously the code handling send() was assuming the data was always json.

coveralls commented 8 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling a510cc7e46f5dcb93da2815ba4ab2fcf26b45d38 on kmudrick:allow-raw-send into 0eb1c99c32e275a77c0b51193656d2e50e1e12c3 on A:master.

tbranyen commented 8 years ago

LGTM, thanks @kmudrick!