'Chrome/62.0 (BSD x86_64; rv:71.0) Gecko/20100101 Firefox/71.0', 'Accept' => '*/*', 'Accept-Language' => 'en-US,en;q=0.5', 'Content-Type' => 'application/x-www-form-urlencoded; charset=UTF-8', 'X-Requested-With' => 'XMLHttpRequest', 'Origin' => 'https://s.id', 'Connection' => 'keep-alive', 'Referer' => 'https://s.id/' ); $data = array( 'url' => 'https://ne.com' ); $response = Requests::post('https://s.id/api/public/link/shorten', $headers, $data);