Added POST/GET API example

Configured to POST at the moment, but code is there for GET method as
well