https://courier.ohau.co.ke/api/collection/parcels

CollectionController :: getReceivedParcels

Request

GET Parameters

No GET parameters

POST Parameters

Key Value
origin
1
search
"0794549759"
search_parameter
"receiver_phone_number"

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Api\CollectionController::getReceivedParcels"
_firewall_context
"security.firewall.map.context.api"
_route
"receivedParcelList_"
_route_params
[]
_stopwatch_token
"487afd"
media_type
"application/json"
paramFetcher
FOS\RestBundle\Request\ParamFetcher {#680
  -container: ContainerBxEb3my\App_KernelDevDebugContainer {#40 …}
  -parameterBag: FOS\RestBundle\Request\ParameterBag {#682 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#290 …}
  -validator: Symfony\Component\Validator\Validator\TraceableValidator {#671 …}
}

Request Headers

Header Value
accept-encoding
"gzip"
auth
"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3Mzc0MjgzNzEsImV4cCI6MTczNzQ0Mjc3MSwicm9sZXMiOlsiUk9MRV9VU0VSIiwiUk9MRV9DTEVSSyJdLCJ1c2VybmFtZSI6IjA3MjI4NzYxMjYiLCJ1c2VyX2lkIjoxMjR9.l0IErvzXoWZmfpAHyaGzUb2KfMidcxtfSqME7IzajfqayHSSkkaLF4_wmTqD7AwEFNhs9EGI53n3j-s7YYqMedeIu1K_cWSMx2HG-DV0msh75TQDppy8aXknDjFxYacjFC-tO8lrgsd9f4p3G6luOIPabSO2B9qTELxM_g9sYHEl6grPLPpxEWfMvdy1TYFV0H_84VQJIgkHQ3_m2zOqqcyWFc-zqOhihItD5QG70-2SpgWwUyoEKnQ9yviUEdNEmnuMk_NDAA_mZ8CX2uueGrIK53LTffVten5qkFHE-AbUYKeS9XQVkdSk61Azk6lXxC5iBzUnDYFzDL-KEhP42Qvroy9kjosauspJVeDnLkok5NlkJ8DqfOLO0SVH3gnhhiMEqX64CT15ZEo3oZ91kgcm_rMNtFyBuoAiPPCqaXFwZighUzYUCDFQ_0hNZ6zEx5uzsKY90pcMUIgOUuSwbb6tU0LeyEiumM5sPZ9aXR08HrZc37KSqoPWLKNpk679TKqwyukDot42hiNeBZvORSN7GMV0TQDXdL7IrGF4S_KyIvJD3i3-kKo6fBnTTKUPax1n8myYPzwNOGusgyEsw_PxWmyWLUsbSJc4XwPV1UfBWk6gt8QPKQaGS2YjH3NrYkqxsuXdIsp94VOYKl-ovn6AEmm3Enxf3QVHMbQTWhc"
connection
"Keep-Alive"
content-length
"77"
content-type
"application/json; charset=UTF-8"
host
"courier.ohau.co.ke"
user-agent
"okhttp/3.10.0"
x-php-ob-level
"1"

Request Content

Raw

{"origin":1,"search":"0794549759","search_parameter":"receiver_phone_number"}

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"application/json"
date
"Tue, 21 Jan 2025 04:05:54 GMT"
x-debug-token
"7b2d75"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

0 Usages
Stateless check enabled

Session not used.

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"bd88013a2f16de1b609593eeee247d2d"
CORS_ALLOW_ORIGIN
"*"
DATABASE_URL
"mysql://root:!mirage2023@127.0.0.1:3306/courier?serverVersion=8&charset=utf8mb4"
JWT_PASSPHRASE
"mirage"
JWT_PUBLIC_KEY
"%kernel.project_dir%/config/jwt/public.pem"
JWT_SECRET_KEY
"%kernel.project_dir%/config/jwt/private.pem"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
"77"
CONTENT_TYPE
"application/json; charset=UTF-8"
CONTEXT_DOCUMENT_ROOT
"/var/www/html/courier/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/html/courier/public"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT_ENCODING
"gzip"
HTTP_AUTH
"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3Mzc0MjgzNzEsImV4cCI6MTczNzQ0Mjc3MSwicm9sZXMiOlsiUk9MRV9VU0VSIiwiUk9MRV9DTEVSSyJdLCJ1c2VybmFtZSI6IjA3MjI4NzYxMjYiLCJ1c2VyX2lkIjoxMjR9.l0IErvzXoWZmfpAHyaGzUb2KfMidcxtfSqME7IzajfqayHSSkkaLF4_wmTqD7AwEFNhs9EGI53n3j-s7YYqMedeIu1K_cWSMx2HG-DV0msh75TQDppy8aXknDjFxYacjFC-tO8lrgsd9f4p3G6luOIPabSO2B9qTELxM_g9sYHEl6grPLPpxEWfMvdy1TYFV0H_84VQJIgkHQ3_m2zOqqcyWFc-zqOhihItD5QG70-2SpgWwUyoEKnQ9yviUEdNEmnuMk_NDAA_mZ8CX2uueGrIK53LTffVten5qkFHE-AbUYKeS9XQVkdSk61Azk6lXxC5iBzUnDYFzDL-KEhP42Qvroy9kjosauspJVeDnLkok5NlkJ8DqfOLO0SVH3gnhhiMEqX64CT15ZEo3oZ91kgcm_rMNtFyBuoAiPPCqaXFwZighUzYUCDFQ_0hNZ6zEx5uzsKY90pcMUIgOUuSwbb6tU0LeyEiumM5sPZ9aXR08HrZc37KSqoPWLKNpk679TKqwyukDot42hiNeBZvORSN7GMV0TQDXdL7IrGF4S_KyIvJD3i3-kKo6fBnTTKUPax1n8myYPzwNOGusgyEsw_PxWmyWLUsbSJc4XwPV1UfBWk6gt8QPKQaGS2YjH3NrYkqxsuXdIsp94VOYKl-ovn6AEmm3Enxf3QVHMbQTWhc"
HTTP_CONNECTION
"Keep-Alive"
HTTP_HOST
"courier.ohau.co.ke"
HTTP_USER_AGENT
"okhttp/3.10.0"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
PHP_SELF
"/index.php"
QUERY_STRING
""
REMOTE_ADDR
"102.219.209.79"
REMOTE_PORT
"53070"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1737432347
REQUEST_TIME_FLOAT
1737432347.6602
REQUEST_URI
"/api/collection/parcels"
SCRIPT_FILENAME
"/var/www/html/courier/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"158.220.92.239"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"courier.ohau.co.ke"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
"<address>Apache/2.4.52 (Ubuntu) Server at courier.ohau.co.ke Port 443</address>\n"
SERVER_SOFTWARE
"Apache/2.4.52 (Ubuntu)"
SSL_TLS_SNI
"courier.ohau.co.ke"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,MESSENGER_TRANSPORT_DSN,DATABASE_URL,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE,CORS_ALLOW_ORIGIN"