https://api2t4.mototoursapi.ru/motoroute

MotorouteController :: index

Request

GET Parameters

No GET parameters

POST Parameters

Key Value
api_key
"f4746271d96120b217c42480593e5af4"
mt_params
"{"points":{"0":{"name":"","coords":""}},"from":{"name":"Дрезден","coords":"Дрезден"},"to":{"name":"Братислава","coords":"Братислава"}}"

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\MotorouteController::index"
_firewall_context
"security.firewall.map.context.main"
_route
"motoroute"
_route_params
[]

Request Headers

Header Value
accept
"application/json"
content-length
"219"
content-type
"application/x-www-form-urlencoded"
host
"api2t4.mototoursapi.ru"
x-php-ob-level
"1"

Request Content

Raw

api_key=f4746271d96120b217c42480593e5af4&mt_params={"points":{"0":{"name":"","coords":""}},"from":{"name":"Дрезден","coords":"Дрезден"},"to":{"name":"Братислава","coords":"Братислава"}}

Response

Response Headers

Header Value
access-control-allow-origin
"https://moto.tours/"
cache-control
"no-cache, private"
content-type
"application/json"
date
"Tue, 24 Dec 2024 17:40:57 GMT"
x-debug-token
"aca186"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session

Session Metadata

No session metadata

Session Attributes

No session attributes

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"5a457470780fcb2bca57420b1c3ff3c6"
DATABASE_URL
"mysql://api2t5:iuhED9*w@localhost:3306/api2t5?serverVersion=8.0"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
"219"
CONTENT_TYPE
"application/x-www-form-urlencoded"
DOCUMENT_ROOT
"/home/api2t5/www/api2t5.mototoursapi.ru/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www"
HTTPS
"on"
HTTP_ACCEPT
"application/json"
HTTP_CONTENT_LENGTH
"219"
HTTP_CONTENT_TYPE
"application/x-www-form-urlencoded"
HTTP_HOST
"api2t4.mototoursapi.ru"
PATH_INFO
""
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REMOTE_ADDR
"5.101.157.16"
REMOTE_PORT
"11181"
REMOTE_USER
""
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1735062029
REQUEST_TIME_FLOAT
1735062029.9601
REQUEST_URI
"/motoroute"
SCRIPT_FILENAME
"/home/api2t5/www/api2t5.mototoursapi.ru/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"62.113.109.36"
SERVER_NAME
"api2t6.mototoursapi.ru"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"nginx/1.18.0"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,DATABASE_URL"
USER
"www-data"