Skip to content

Releases: netr/napi

v1.1.0

11 Apr 20:54
a637d81
Compare
Choose a tag to compare
Merge pull request #3 from netr/dev

Add functionality to pass postdata as io.Reader when testing requests

v1.0.1

09 Apr 07:01
f5cb803
Compare
Choose a tag to compare

Fixed a validation bug in the Validate() function. Previously, the BodyParser() was prematurely propagating errors when the types of variables within a struct did not unmarshal (typically from JSON) properly. This would cause the function to stop and return an error, even before all the required validations were done.

v1.0.0

08 Apr 09:23
21534f3
Compare
Choose a tag to compare
Merge pull request #1 from netr/dev-fix-create-request-headers

Fix bug where headers were not being added for requests that didn't h…