Function for manually making any request against the API