Actually I think I'm going to change this. It's a bit restrictive to only have headers passed into the constructor. I think I'd prefer to keep the `endPoint` constructor and add a `setHeaders` method. Then, as required, we can add a `setParameters` method too for the `POST` or potentially `GET` parameters.