Param passing fixes.
REST API example client.