Made it possible to make requests that do not expect json. Probably not the best way but a good start.