Proxy aktualisieren — Proxy-Rotation ein- oder ausschalten
Dieser Abschnitt erklärt die zuverlässige Konfiguration von Proxy aktualisieren — Proxy-Rotation ein- oder ausschalten mit PinguProxy.
PUT
/proxies/update_rotationBody-Parameter
Sicherheit
AuthorizationstringerforderlichJWT-Bearer-Token
Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
Request Body
idintegererforderlichID des zu ändernden Proxys
is_rotatingbooleanerforderlichProxy-Rotation ein- oder ausschalten
1const response = await fetch('https://api.pinguproxy.com/proxies/update_rotation', {2 method: 'PUT',3 headers: {4 'Authorization': 'Bearer your-jwt-token',5 'Content-Type': 'application/json'6 },7 body: JSON.stringify({8 id: 1,9 is_rotating: true10 })11});1213const result = await response.json();
Antwort
Status 200
{"is_rotating": true}
Proxy aktualisieren — Neues Intervall in Sekunden
Dieser Abschnitt erklärt die zuverlässige Konfiguration von Proxy aktualisieren — Neues Intervall in Sekunden mit PinguProxy.
PUT
/proxies/update_rotate_intervalBody-Parameter
Sicherheit
AuthorizationstringerforderlichJWT-Bearer-Token
Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
Request Body
idintegererforderlichID des zu ändernden Proxys
rotate_intervalintegererforderlichNeues Intervall in Sekunden
1const response = await fetch('https://api.pinguproxy.com/proxies/update_rotate_interval', {2 method: 'PUT',3 headers: {4 'Authorization': 'Bearer your-jwt-token',5 'Content-Type': 'application/json'6 },7 body: JSON.stringify({8 id: 1,9 rotate_interval: 30010 })11});1213const result = await response.json();
Antwort
Status 200
{"success": true}
Proxy aktualisieren — Neue Proxy-Bezeichnung
Dieser Abschnitt erklärt die zuverlässige Konfiguration von Proxy aktualisieren — Neue Proxy-Bezeichnung mit PinguProxy.
PUT
/proxies/update_labelBody-Parameter
Sicherheit
AuthorizationstringerforderlichJWT-Bearer-Token
Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
Request Body
idintegererforderlichID des zu ändernden Proxys
labelstringerforderlichNeue Proxy-Bezeichnung
1const response = await fetch('https://api.pinguproxy.com/proxies/update_label', {2 method: 'PUT',3 headers: {4 'Authorization': 'Bearer your-jwt-token',5 'Content-Type': 'application/json'6 },7 body: JSON.stringify({8 id: 1,9 label: 'My Proxy'10 })11});1213const result = await response.json();
Antwort
Status 200
true