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":"Сутоморе"},"date_start":"01.03.2025","engine_volume":"200","fuel_tank_volume":"20","divide_by":"time","divide_route":true,"divide_value":"5","speed_rm":"90","speed_rp":90,"speed_rs":60,"speed_ru":50,"fuel_consumption":6}"

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
"416"
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":"Сутоморе"},"date_start":"01.03.2025","engine_volume":"200","fuel_tank_volume":"20","divide_by":"time","divide_route":true,"divide_value":"5","speed_rm":"90","speed_rp":90,"speed_rs":60,"speed_ru":50,"fuel_consumption":6}

Response

Response Headers

Header Value
access-control-allow-origin
"https://moto.tours/"
cache-control
"no-cache, private"
content-type
"application/json"
date
"Fri, 01 Nov 2024 07:09:01 GMT"
x-debug-token
"1ef0ec"

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
"416"
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
"416"
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
"38967"
REMOTE_USER
""
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1730444924
REQUEST_TIME_FLOAT
1730444924.319
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"