Add JSON API support
Add support for JSON API.
This makes hash_including works properly with JSON API requests.
Not sure if I need to change this part too?
I wasn't sure which specs to update, let me know if you need me to add anything else.
@ouranos thank you!
If we add support for this then the failure output on non matching requests will be nicer, therefore I'd be keen to add support for that.
Ok, I'll add it then.
Any ideas why the specs are failing? It doesn't seem to be related to my changes.
@ouranos please merge from master. I have fixed specs under jruby.
Rebased from master and added RequestSignature support. Let's see if the build pass.
This PR should fix the JSON API support, in a more generic way (and allows further content type customization): https://github.com/bblimke/webmock/pull/763 Since JSON API is not that widely adopted yet, I wouldn't add it to the default content types. Of course it would also be fine to have both solutions.