HTTP Client

1 Total requests
0 HTTP errors

Clients

http_client 1

Requests

GET https://api.aladhan.com/v1/gToH
Request options
[
  "headers" => [
    "accept" => "application/json"
    "Accept-Encoding" => "identity"
  ]
]
Response 200
[
  "info" => [
    "header_size" => 1656
    "request_size" => 287
    "total_time" => 0.182503
    "namelookup_time" => 0.08109
    "connect_time" => 0.104307
    "pretransfer_time" => 0.12968
    "size_download" => 618.0
    "speed_download" => 3386.0
    "download_content_length" => 618.0
    "starttransfer_time" => 0.182168
    "redirect_time" => 0.157703
    "primary_ip" => "5.161.200.100"
    "primary_port" => 443
    "local_ip" => "172.16.0.5"
    "local_port" => 37408
    "http_version" => 3
    "protocol" => 2
    "scheme" => "HTTPS"
    "appconnect_time_us" => 129566
    "connect_time_us" => 104307
    "namelookup_time_us" => 81090
    "pretransfer_time_us" => 129680
    "redirect_time_us" => 157703
    "starttransfer_time_us" => 182168
    "total_time_us" => 182503
    "effective_method" => "GET"
    "start_time" => 1785786748.777
    "original_url" => "https://api.aladhan.com/v1/gToH"
    "pause_handler" => Closure(float $duration) {#20105
      class: "Symfony\Component\HttpClient\Response\CurlResponse"
      use: {
        $ch: CurlHandle {#20093 …}
        $multi: Symfony\Component\HttpClient\Internal\CurlClientState {#506 …}
        $execCounter: -9223372036854775808
      }
    }
    "debug" => """
      * WARNING: failed to open cookie file ""\n
      * Host api.aladhan.com:443 was resolved.\n
      * IPv6: 2a01:4ff:f0:ab3::1\n
      * IPv4: 5.161.200.100\n
      *   Trying 5.161.200.100:443...\n
      * Connected to api.aladhan.com (5.161.200.100) port 443\n
      * ALPN: curl offers h2,http/1.1\n
      *  CAfile: /etc/ssl/certs/ca-certificates.crt\n
      *  CApath: /etc/ssl/certs\n
      * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / X25519 / RSASSA-PSS\n
      * ALPN: server accepted h2\n
      * Server certificate:\n
      *  subject: CN=api.aladhan.com\n
      *  start date: Jul 13 00:00:00 2026 GMT\n
      *  expire date: Oct 11 23:59:59 2026 GMT\n
      *  subjectAltName: host "api.aladhan.com" matched cert's "api.aladhan.com"\n
      *  issuer: C=AT; O=ZeroSSL GmbH; CN=ZeroSSL RSA DV SSL CA 2\n
      *  SSL certificate verify ok.\n
      *   Certificate level 0: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption\n
      *   Certificate level 1: Public key type RSA (3072/128 Bits/secBits), signed using sha384WithRSAEncryption\n
      *   Certificate level 2: Public key type RSA (4096/152 Bits/secBits), signed using sha384WithRSAEncryption\n
      * using HTTP/2\n
      * [HTTP/2] [1] OPENED stream for https://api.aladhan.com/v1/gToH\n
      * [HTTP/2] [1] [:method: GET]\n
      * [HTTP/2] [1] [:scheme: https]\n
      * [HTTP/2] [1] [:authority: api.aladhan.com]\n
      * [HTTP/2] [1] [:path: /v1/gToH]\n
      * [HTTP/2] [1] [accept: application/json]\n
      * [HTTP/2] [1] [accept-encoding: identity]\n
      * [HTTP/2] [1] [user-agent: Symfony HttpClient (Curl)]\n
      > GET /v1/gToH HTTP/2\r\n
      Host: api.aladhan.com\r\n
      accept: application/json\r\n
      Accept-Encoding: identity\r\n
      User-Agent: Symfony HttpClient (Curl)\r\n
      \r\n
      * old SSL session ID is stale, removing\n
      < HTTP/2 302 \r\n
      < content-type: text/html; charset=UTF-8\r\n
      < content-length: 0\r\n
      < ratelimit-remaining: 11\r\n
      < ratelimit-reset: 1\r\n
      < x-ratelimit-remaining-second: 11\r\n
      < x-ratelimit-limit-second: 12\r\n
      < ratelimit-limit: 12\r\n
      < x-cache-key: 22ffc8c5d66e4fadd821a208aed56502\r\n
      < x-cache-status: Bypass\r\n
      < access-control-allow-credentials: true\r\n
      < access-control-allow-headers: Authorization, origin, if-none-match, Content-Type, Accept-Encoding\r\n
      < access-control-allow-methods: GET, POST, PUT, DELETE, PATCH, OPTIONS\r\n
      < access-control-allow-origin: *\r\n
      < access-control-expose-headers: *\r\n
      < location: /v1/gToH/03-08-2026?\r\n
      < server: FrankenPHP Caddy\r\n
      < x-powered-by: Kipchak by Mamluk\r\n
      < date: Mon, 03 Aug 2026 19:52:28 GMT\r\n
      < x-kong-upstream-latency: 2\r\n
      < x-kong-proxy-latency: 2\r\n
      < via: 1.1 kong/3.9.1\r\n
      < x-kong-request-id: 77c38f0d9cd0c204b7f8623f21fe1b3c\r\n
      < \r\n
      * Connection #0 to host api.aladhan.com left intact\n
      * Issue another request to this URL: 'https://api.aladhan.com/v1/gToH/03-08-2026'\n
      * Found bundle for host: 0x5e481ad4f240 [can multiplex]\n
      * Re-using existing connection with host api.aladhan.com\n
      * [HTTP/2] [3] OPENED stream for https://api.aladhan.com/v1/gToH/03-08-2026\n
      * [HTTP/2] [3] [:method: GET]\n
      * [HTTP/2] [3] [:scheme: https]\n
      * [HTTP/2] [3] [:authority: api.aladhan.com]\n
      * [HTTP/2] [3] [:path: /v1/gToH/03-08-2026]\n
      * [HTTP/2] [3] [accept: application/json]\n
      * [HTTP/2] [3] [accept-encoding: identity]\n
      * [HTTP/2] [3] [user-agent: Symfony HttpClient (Curl)]\n
      > GET /v1/gToH/03-08-2026 HTTP/2\r\n
      Host: api.aladhan.com\r\n
      accept: application/json\r\n
      Accept-Encoding: identity\r\n
      User-Agent: Symfony HttpClient (Curl)\r\n
      \r\n
      < HTTP/2 200 \r\n
      < content-type: application/json\r\n
      < ratelimit-remaining: 10\r\n
      < ratelimit-reset: 1\r\n
      < x-ratelimit-remaining-second: 10\r\n
      < x-ratelimit-limit-second: 12\r\n
      < ratelimit-limit: 12\r\n
      < x-cache-key: f5ee4e0503fdd00e101324aa6b582ccb\r\n
      < access-control-expose-headers: *\r\n
      < x-cache-status: Hit\r\n
      < access-control-allow-headers: Authorization, origin, if-none-match, Content-Type, Accept-Encoding\r\n
      < age: 2390\r\n
      < cache-control: public,max-age=7200\r\n
      < access-control-allow-credentials: true\r\n
      < server: FrankenPHP Caddy\r\n
      < date: Mon, 03 Aug 2026 19:12:38 GMT\r\n
      < x-powered-by: Kipchak by Mamluk\r\n
      < access-control-allow-methods: GET, POST, PUT, DELETE, PATCH, OPTIONS\r\n
      < access-control-allow-origin: *\r\n
      < etag: 0655566d9acddcf12a3a74a507d8419c\r\n
      < content-length: 618\r\n
      < x-kong-upstream-latency: 0\r\n
      < x-kong-proxy-latency: 2\r\n
      < via: 1.1 kong/3.9.1\r\n
      < x-kong-request-id: b2196162b0b66a6fe8bf382f09f89364\r\n
      < \r\n
      """
  ]
  "url" => "https://api.aladhan.com/v1/gToH/03-08-2026"
  "redirect_count" => 1
  "response_headers" => [
    "HTTP/2 302 "
    "content-type: text/html; charset=UTF-8"
    "content-length: 0"
    "ratelimit-remaining: 11"
    "ratelimit-reset: 1"
    "x-ratelimit-remaining-second: 11"
    "x-ratelimit-limit-second: 12"
    "ratelimit-limit: 12"
    "x-cache-key: 22ffc8c5d66e4fadd821a208aed56502"
    "x-cache-status: Bypass"
    "access-control-allow-credentials: true"
    "access-control-allow-headers: Authorization, origin, if-none-match, Content-Type, Accept-Encoding"
    "access-control-allow-methods: GET, POST, PUT, DELETE, PATCH, OPTIONS"
    "access-control-allow-origin: *"
    "access-control-expose-headers: *"
    "location: /v1/gToH/03-08-2026?"
    "server: FrankenPHP Caddy"
    "x-powered-by: Kipchak by Mamluk"
    "date: Mon, 03 Aug 2026 19:52:28 GMT"
    "x-kong-upstream-latency: 2"
    "x-kong-proxy-latency: 2"
    "via: 1.1 kong/3.9.1"
    "x-kong-request-id: 77c38f0d9cd0c204b7f8623f21fe1b3c"
    "HTTP/2 200 "
    "content-type: application/json"
    "ratelimit-remaining: 10"
    "ratelimit-reset: 1"
    "x-ratelimit-remaining-second: 10"
    "x-ratelimit-limit-second: 12"
    "ratelimit-limit: 12"
    "x-cache-key: f5ee4e0503fdd00e101324aa6b582ccb"
    "access-control-expose-headers: *"
    "x-cache-status: Hit"
    "access-control-allow-headers: Authorization, origin, if-none-match, Content-Type, Accept-Encoding"
    "age: 2390"
    "cache-control: public,max-age=7200"
    "access-control-allow-credentials: true"
    "server: FrankenPHP Caddy"
    "date: Mon, 03 Aug 2026 19:12:38 GMT"
    "x-powered-by: Kipchak by Mamluk"
    "access-control-allow-methods: GET, POST, PUT, DELETE, PATCH, OPTIONS"
    "access-control-allow-origin: *"
    "etag: 0655566d9acddcf12a3a74a507d8419c"
    "content-length: 618"
    "x-kong-upstream-latency: 0"
    "x-kong-proxy-latency: 2"
    "via: 1.1 kong/3.9.1"
    "x-kong-request-id: b2196162b0b66a6fe8bf382f09f89364"
  ]
  "response_content" => [
    "{"code":200,"status":"OK","data":{"hijri":{"date":"20-02-1448","format":"DD-MM-YYYY","day":"20","weekday":{"en":"Al Athnayn","ar":"\u0627\u0644\u0627\u062b\u0646\u064a\u0646"},"month":{"number":2,"en":"\u1e62afar","ar":"\u0635\u064e\u0641\u064e\u0631","days":30},"year":"1448","designation":{"abbreviated":"AH","expanded":"Anno Hegirae"},"holidays":[],"adjustedHolidays":[],"method":"HJCoSA"},"gregorian":{"date":"03-08-2026","format":"DD-MM-YYYY","day":"03","weekday":{"en":"Monday"},"month":{"number":8,"en":"August"},"year":"2026","designation":{"abbreviated":"AD","expanded":"Anno Domini"},"lunarSighting":false}}}"
  ]
]