prefixing urls with /rest/ and not requring content type header for empty requests