private function prepareCurl()
    {
        $ch = $this->getCurl();

        // Set cURL opts
        curl_setopt($ch, CURLOPT_URL, self::EXPO_API_URL);
        curl_setopt($ch, CURLOPT_HTTPHEADER, [
            'accept: application/json',
            'content-type: application/json',
        ]);
        curl_setopt($ch, CURLOPT_POST, 1);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

        return $ch;
    }
private function prepareCurl()
    {
        $ch = $this->getCurl();

        // Set cURL opts
        curl_setopt($ch, CURLOPT_URL, self::EXPO_API_URL);
        curl_setopt($ch, CURLOPT_HTTPHEADER, [
            'accept: application/json',
            'content-type: application/json',
        ]);
        curl_setopt($ch, CURLOPT_POST, 1);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

        return $ch;
    }
private function prepareCurl ( ) { $ ch = $ this -> getCurl ( ) ; // Set cURL opts curl_setopt ( $ ch , CURLOPT_URL , self :: EXPO_API_URL ) ; curl_setopt ( $ ch , CURLOPT_HTTPHEADER , [ 'accept: application/json' , 'content-type: application/json' , ] ) ; curl_setopt ( $ ch , CURLOPT_POST , 1 ) ; curl_setopt ( $ ch , CURLOPT_RETURNTRANSFER , true ) ; return $ ch ; }
Sets the request url and headers

@throws ExpoException

@return null|resource
Sets the request url and headers