Got example rest api to work on local project
Fixed error with rest routing