Construct the API Endpoint for the request

@return string
12858
protected function buildEndpoint()
    {
        $endpoint = $this->authorization->apiEndpoint . '/tables/' . $this->tableName . '/';

        // If there is a specific record ID, append that to the endpoint
        if ($this->recordID) { $endpoint .= $this->recordID; }

        return $endpoint;
    }
962834
public function buildRequest()
    {
        $request = $this->getPayPalRequest();
        $request->setParameter('TOKEN', $this->getSession()->getVariable('oepaypal-token'));

        return $request;
    }
1352892
public function endpoint()
	{
		/**
		 * @var Processor $processor
		 */

		$type = Type::ENDPOINT;
		$input = $this->getVerifiedInput('endpoint', $type, Input::all());


		$errorMessage = 'Request error';
		$urlBack = '';

		if ($input) {

			$errorMessage = '';
			$urlBack = $input['back'];
			$opType = new Type($type, $input);

			try {
				$opType->validate();
			} catch (ProcessorException $e) {
				$errorMessage = $e->getMessage();
			}

		}

		if ($errorMessage) {
			return Redirect::route('ff-bank-em-error')->with(array(
				'errorMessage' => $errorMessage,
				'errorUrl'     => Views::url($urlBack, array('resultBankEmulatorPayment' => 'error')),
				'errorUrlName' => 'вернуться в магазин',
			));
		}

		$term = Terminal::find($input['term']);
		$paymentParams = $this->getPaymentFields($input);
		Secure::sign($paymentParams, $type, $term->secret);

		$this->layout = View::make('ff-bank-em::layouts.endpoint');

		return $this->layout->nest('content', 'ff-bank-em::demo.endpoint', compact('paymentParams'));

	}
469640
protected function getApiRoot()
    {
        $request = $this->requestStack->getMasterRequest();
        $pathinfo = $request->getPathInfo();
        $semanticPathinfo = $request->attributes->get('semanticPathinfo', $pathinfo);

        return $request->getBaseUrl() . substr($pathinfo, 0, strpos($pathinfo, $semanticPathinfo)) . '/';
    }
626612
protected function generateRequestTarget()
	{
		$endpoint = Client::API_ENDPOINT;
		$method = WordRequest::API_METHOD;
		$format = Client::RESPONSE_FORMAT;

		return "{$endpoint}/{$method}.{$format}/{$this->word}";
	}
106707
private function computeEndpoint()
    {
        $protocol = $this->config[BceClientConfigOptions::PROTOCOL];
        if ($this->regionSupported) {
            return sprintf(
                '%s://%s.%s.%s',
                $protocol,
                $this->serviceId,
                $this->config[BceClientConfigOptions::REGION],
                Bce::DEFAULT_SERVICE_DOMAIN
            );
        } else {
            return sprintf(
                '%s://%s.%s',
                $protocol,
                $this->serviceId,
                Bce::DEFAULT_SERVICE_DOMAIN
            );
        }
    }
1287475
public function getUrl()
    {
        $this->validateMethod();

        $apiVersion = UrlManipulator::forceSlashPrefix($this->apiVersion);
        $endpoint   = UrlManipulator::forceSlashPrefix($this->getEndpoint());

        $url = $apiVersion.$endpoint;

        if ($this->getMethod() !== 'POST') {
            $params = $this->getParams();
            $url = UrlManipulator::appendParamsToUrl($url, $params);
        }

        return $url;
    }
65812
private function computeEndpoint(): UrlInterface
    {
        if (!$this->transactions->isOpened()) {
            return Url::fromString('/db/data/transaction/commit');
        }

        return $this->transactions->current()->endpoint();
    }
1009095
function getEndpoint()
    {
        $this->api->curl_header = array(
            'Authorization: OAuth '.$this->api->access_token,
        );
        $data = $this->api->get( $this->metadata_url );

        if ( ! isset( $data->api_endpoint ) ){
            throw new Exception( "Endpoint request failed! {$this->providerId} returned an invalid response.", 6 );
        }

        return $data->api_endpoint;
    }
761131
public function getEndPoint()
    {
        $html = $this->response->getHtmlContent();

        if ($html && ($url = self::getEndPointFromDom($html))) {
            try {
                $endPoint = $this->response->getUrl()->createAbsolute($url);
            } catch (Exception $exception) {
                return null;
            }

            if ($endPoint->getExtension() !== 'xml' && !$endPoint->hasQueryParameter('format')) {
                return $endPoint->withQueryParameter('format', 'json');
            }

            return $endPoint;
        }
    }
611684
private function buildUrl($endpoint, $url_parameters = [], $special_url = null)
    {
        foreach ($url_parameters as $key => $value) {
            //@codeCoverageIgnoreStart
            $endpoint = str_replace('{'.$key.'}', $value, $endpoint);
            //@codeCoverageIgnoreEnd
        }

        if (is_null($special_url)) {
            $url = trim($this->api_base_url, "/ \t\n\r\0\x0B");
        } else {
            $url = $special_url;
        }
        $url = $url.'/'.trim($endpoint, "/ \t\n\r\0\x0B");

        return $url;
    }
991610
public function registerEndpoint()
    {
        $this->app->bind('endpoint', function ($app) {
            return new Endpoint($app['hook.factory']);
        });

        $this->app->alias('endpoint', Endpoint::class);
    }
14155
public function buildUrl($endpoint)
    {
        if (filter_var($endpoint, FILTER_VALIDATE_URL))
        {
            return $endpoint . '.' . $this->dataFormat;
        }

        if (substr($this->url, -1) != '/')
        {
            $this->url = $this->url . '/';
        }

        return $this->url . $endpoint . '.' . $this->dataFormat;
    }
1350050
protected function getApiMethod()
    {
        if (!isset($this->apiMethod)) {
            $words = explode('_', Str::snake(class_basename($this)), -1);
            $endpoint = strtolower(array_shift($words));
            $action = Str::camel(implode('_', $words)) ?: '*';
            $method = sprintf('%s.%s', $endpoint, $action);
            $this->apiMethod = $endpoint ? $method : 'undefined';
        }

        return $this->apiMethod;
    }
79196
public function url() {
		$url = $this->client->endpoint() . $this->resource . '.json';
		if (in_array($this->method, ['GET', 'DELETE']) && $this->params !== null) {
			$url .= '?' . http_build_query($this->params);
		}
		return $url;
	}
1031855
public function getEndpointName()
    {
        $endpoint = isset($this->endpoint) ? $this->endpoint : null;

        if (!isset($endpoint)) {
            $bitter = get_class($this);
            $name = substr($bitter, strrpos($bitter, '\\')+1);
            return ($name);
        }
        return ($endpoint);
    }
263740
private function getEndPoint()
    {
        $url = $this->adapter->getResponse()->getUrl();
        $key = $this->adapter->getConfig('facebook[key]');

        if (empty($key)) {
            return;
        }

        if ($url->getDirectoryPosition(0) === 'events') {
            return  Url::create('https://graph.facebook.com/')
                        ->withAddedPath($url->getDirectoryPosition(1))
                        ->withQueryParameter('access_token', $key)
                        ->withQueryParameter('fields', $this->adapter->getConfig('facebook[events_fields]'));
        }

        if ($url->getDirectoryPosition(1) === 'videos') {
            return  Url::create('https://graph.facebook.com/')
                        ->withAddedPath($url->getDirectoryPosition(2))
                        ->withQueryParameter('access_token', $key)
                        ->withQueryParameter('fields', $this->adapter->getConfig('facebook[videos_fields]'));
        }
    }