Bug fix for making requests to an endpoint with an unspecified pattern