I need to get the request data schema(http or https) and host(site.ru or www.site.ru ). php has $_SERVER['REQUEST_SCHEME'] and $_SERVER['HTTP_HOST']. I've tried, how do I get them?
PS "At the moment, I only see $request->server['request_uri'] and $request->server['query_string']"
I need to get the request data schema(http or https) and host(site.ru or www.site.ru ). php has $_SERVER['REQUEST_SCHEME'] and $_SERVER['HTTP_HOST']. I've tried, how do I get them? PS "At the moment, I only see $request->server['request_uri'] and $request->server['query_string']"