Working sending request to REST (server url hardcoded for now)