Support custom headers and payloads in API
Merge pull request #14 from kumar303/api-work

Support custom headers and payloads in API