making http method of http endpoint optional
Merge pull request #83 from isudana/master

making http method of http endpoint optional