Why can't I send requests to my API?