Turned the API into a REST API.
Updated to use the new API. Changed 'url' by 'src' parameter, which must only provide the base host URL, but not the API entry point.
Deleted obsolete example.