Follow API guidelines more closely

Only send rawData if the request isn’t a GET/POST