Now throws error if request status code is not 2XX