Skip to content
View in the app

A better way to browse. Learn more.

Learn more

[POST] PHP - /fetch

Featured Replies

  • Administrator
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://gapi.pbcv.dev/get/multiple',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'POST',
  CURLOPT_POSTFIELDS =>'{
  "servers": [
    "1.12.255.158:27015",
    "1.12.68.111:27015",
    "101.34.54.110:27015",
    "101.35.158.231:27015",
    "101.42.152.105:27015",
    "101.43.186.121:27015",
    "101.43.193.98:27015",
    "101.43.207.27:27015",
    "103.167.246.186:27015",
    "103.179.44.152:27015",
    "103.193.138.228:27015",
    "103.195.101.155:27015",
    "103.214.68.23:27015",
    "103.73.65.135:27015",
    "103.73.66.161:27015",
    "104.131.24.108:27015",
    "104.153.109.15:27015",
    "104.153.109.21:27015",
    "104.153.109.24:27015",
    "104.153.109.28:27015",
    "104.156.224.131:27015",
    "104.156.224.132:27015",
    "104.156.224.133:27015",
    "104.156.224.134:27015",
    "104.156.224.148:27015",
    "104.156.224.149:27015",
    "104.156.224.150:27015",
    "104.197.144.154:27015",
    "104.223.121.242:27015",
    "107.173.89.31:27015",
    "108.181.1.219:27015",
    "108.61.170.233:27015",
    "108.61.69.68:27015",
    "108.61.88.76:27015",
    "109.123.108.107:27015",
    "109.123.108.125:27015",
    "109.123.248.92:27015",
    "109.163.232.50:27015",
    "109.163.232.52:27015",
    "109.174.60.21:27015",
    "109.195.103.47:27015",
    "109.230.149.6:27015",
    "109.248.59.75:27015",
    "109.74.75.48:27015",
    "109.87.149.194:27015",
    "111.230.44.179:27015",
    "112.74.189.250:27015",
    "116.202.49.32:27015",
    "116.203.65.9:27015",
    "118.70.132.119:27015",
    "119.203.67.30:27015",
    "119.29.240.119:27015",
    "119.45.129.78:27015",
    "119.45.19.82:27015",
    "119.91.157.193:27015"
  ]
}',
  CURLOPT_HTTPHEADER => array(
    'Content-Type: application/json',
    'Cache-Control: no-cache',
    'Accept: */*',
    'Accept-Encoding: gzip,deflate',
    'Connection: keep-alive',
    'X-API-Token: FREE',
    'Agent: Mozilla/5.0 (compatible; GApiPlugin/1.0; +https://gapi.pbcv.dev)',
    'Authorization: Bearer apitestoken'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

 

Pentru cei care au cumparat pachetul pro:

'X-API-Token': 'FREE'

Poate fi inlocuit cu tokenul vostru.

Guest
This topic is now closed to further replies.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.