Fix issue #4.

put/post use body.
get/delete use params.