For ready-to-use source code, please download the files here: Source Code
const axios = require('axios');
async function checkCookie() {
try {
const response = await axios.post('https://api.resyst.dev/nfc/api.php', {
cookie: "YOUR_COOKIE_HERE"
});
console.log(response.data);
} catch (error) {
console.error("Error:", error.message);
}
}
checkCookie();
import requests
url = "https://api.resyst.dev/nfc/api.php"
payload = {"cookie": "YOUR_COOKIE_HERE"}
try:
response = requests.post(url, json=payload)
print(response.json())
except Exception as e:
print("Error:", e)
<?php
$url = 'https://api.resyst.dev/nfc/api.php';
$data = json_encode(['cookie' => 'YOUR_COOKIE_HERE']);
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
$response = curl_exec($ch);
curl_close($ch);
print_r(json_decode($response, true));
?>
package main
import (
"bytes"
"fmt"
"io"
"net/http"
)
func main() {
url := "https://api.resyst.dev/nfc/api.php"
payload := []byte(`{"cookie":"YOUR_COOKIE_HERE"}`)
req, _ := http.NewRequest("POST", url, bytes.NewBuffer(payload))
req.Header.Set("Content-Type", "application/json")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}
// Awaiting request...