Allow for different method sigs of post/put

* Now supports post/put methods without crashing.
* Test for post/put and call method with correct args.

This is sort of an ugly way of fixing it, but I think it's simpler than trying to doctor args to match required params, or calling private methods directly.