Fix external API sample
Merge pull request #315 from owncloud/api-sample

Fix external API sample