Fixed return value

POST, not GET

Signed-off-by: Dominik Schadow <dominikschadow@googlemail.com>
Added protected GET request sample

Signed-off-by: Dominik Schadow <dominikschadow@googlemail.com>