Skip to main content

Error Information Report

This method returns HTTP 400 and 500 errors.

The “xx” characters are must be number. Minimum 00, maximum 99.

Parameters

Parameter

Type

Required

Description

user_key

string

Yes

API User Token

user_secret

string

Yes

API User Secret Token

from

string

Yes

Y-m-d date format.

to

string

Yes

Y-m-d date format.

zone_id

int

Yes

Int value.

Return Values

Variable

Description

hit

integer

method

HTTP Method.

protocol

HTTP Protocol.

url

Requested File.

Example PHP Code

CODE
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.medianova.com/v1/report/http-status/{4xx|5xx}",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

Example Output

CODE
{
  "status": true,
  "data": [
    {
      "hit": 21640,
      "method": "GET",
      "protocol": "HTTP/1.1",
      "url": "/favicon.ico"
    }
  ]
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.