खाता जानकारी प्राप्त करें
यह अनुभाग PinguProxy में खाता जानकारी प्राप्त करें को विश्वसनीय रूप से कॉन्फ़िगर करना बताता है।
GET
/users/meबॉडी पैरामीटर
सुरक्षा
Authorizationstringआवश्यकJWT Bearer टोकन
Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
1const response = await fetch('https://api.pinguproxy.com/users/me', {2 headers: {3 'Authorization': 'Bearer your-jwt-token'4 }5});67const user = await response.json();8console.log(user);
प्रतिक्रिया
स्थिति 200
{"uuid": "123e4567-e89b-12d3-a456-426614174000","username": "john.doe","creation_date": "2023-01-01T00:00:00Z","creation_ip": "192.168.1.1","name": "John","surname": "Doe","address": "Address, Zip Code, Country","access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."}