/var/www/html_it/wp-content/plugins/6HHYJBI0P2GXTHB_221285/api/test.php


1
2
3
4
5
6
7
8
9
<?php
require_once __DIR__ "/base_request.php";
$request = new base_request();
$method $_SERVER['REQUEST_METHOD'];
if(
$method == 'POST' or $method == 'post') {
    
$json file_get_contents('php://input');
    
$item json_decode($jsontrue);
    
$request->success($item);
}