<?php

$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => "https://cloud.fibacloud.com/api/category/5/product",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jbG91ZC5maWJhY2xvdWQuY29tXC9hcGlcLyIsImF1ZCI6Im1lLm1vbnQxOTk2QGdtYWlsLmNvbSIsInN1YiI6IjI0MzIyNDcyNGQ3NTU5NzE0NjY3NTI2NzY4NTE3OTRjMmI1ODQ2NGY3NzYyMzE3NDYxMzQ2ZTRkMzE3MDM0NjQ3MDc2MzI0NDcwNGQ0MzYyNzgyYjUyNTk3NjUwMzQ0NzZkNmM3NzZlMzQzMTYzNzQ0ZDZhMzE1MzQyNjU3MDRmNTc3NzU3MzQ2NTQ2MzI0MTdhNzc2ZDcwNzE1OTVhNDY0NTZiMzgzNzM4NmIzOTMyNGQ0MzM5Njc1MDQ5NjQ2ZTQ3NmM2YjRlNGY0YzZiNjk1NzZiMzgzMDZjNzE0YjU5NjczZDNkIiwiaXAiOiIyMDkuMjUwLjI0NS4yMDEiLCJpYXQiOjE3MDg3NjAyNTMsImV4cCI6MTcwODc2MjA1M30.WDlce565ueolSK0cLaTIitJ0-BoRIGbjlDwE7Wxvg_61nRJDZ4Vv8ZiQsN5vumM74810ulBnVSZ79r57_vKIi3xJ8sqAsg57FOR272GHQXua5SH-hm46mC4PVZeC0IgajmVBo-W7RNWl3lZdCpOhx4464zQmXzy_nKlIguh95qMeDE-L1-wtt_vVcOOxL_JC6klpAeKp5fGPEnThUmtsFsuQKNn8QacEVvNX4BQJdXDcCGdGYNqtg_sNiNBjtRCRUYyiDcurpOLAdVPlkvSdEv7Mi9EZvNseqvH8qpmNzKGQ2pQeFKA6RvXSsYGAHArgLW7oA7thc_9Jo8VDzNADS976c0_B6u_42PxbS3nK4JcsBN3KEAYh1HXIug4-CidRTyzhKp6rP152jv66Ne6MAdmV18nDiwsgds_UMIAJbTgeIM3kXMVEhsM8WaODFCGH6tEsQ425Xkc124PYWBJUrhZJkqZGw48v2YyH7GlJoPptEfkCmZTtWf8sMODePo5lbNGoPF_Ogy7FIX4uAqX-Y1hiEmq5wyQRPIHZR6TdtzQnJuX7g-SJfFrxRwKBaIcI-fgjCCxE_5E9rGEO0CiH1q-_9dfRXjMfOwuC6SsIrbQxcg4SQXlDXYMHLIfJMt5JHoSu9N5xjQ3KQhNA4YxLO2dxZsyA5e7aJHcU8W9FLkY",
    "Content-Type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

$response = json_decode($response);
echo json_encode($response,448);