A call to do api requests like: GET, POST, PUT, DELETE