Static Residential Proxies
Making API Requests
Method PUT
To simulate PUT, set the Content-Type header to application/x-www-form-urlencoded and add a field named _method with the value PUT.
Example:
$.ajax({
url: "/api/v1/dedicated/{membership}/authorized-ips/?api_token=xxxx",
data: "_method=PUT&ips[]=1.1.1.1&ips[]=2.2.2.2",
dataType: "json",
type : "POST",
success : function(r) {
console.log(r);
}
});
HTT Form Payload
Content-Type: x-www-form-urlencoded
Method: GET/PUT/POST
Content: _method=PUT&ips[]=1.1.1.1&geo[]=2.2.2.2
JSON Payload (must be PUT):
{
"key" : [
"value1",
"value2"
]
}
Example:
{
"ips" : [
"1.1.1.1",
"2.2.2.2"
]
}
GET Authorized IPs
GET
https://shifter.io/api/v1/dedicated/{membership}/authorized-ips/
Path Parameters
Name
Type
Description
membership*
String
The ID can be found on the membership page.
{
"error": null,
"code": 200,
"data": [
"1.1.1.1",
"1.1.1.2"
]
}
PUT Authorized IPs
PUT
https://shifter.io/api/v1/dedicated/{membership}/authorized-ips/
Path Parameters
Name
Type
Description
membership*
String
The ID can be found on the membership page.
{
"error": null,
"code": 200,
"data": [
"1.1.1.1",
"1.1.1.2"
]
}
GET Proxies
GET
https://shifter.io/api/v1/dedicated/{membership}/proxies/
Path Parameters
Name
Type
Description
membership*
String
The ID can be found on the membership page.
{
"error": null,
"code": 200,
"data": [
"8.8.8.1:1",
"8.8.8.2:1",
"8.8.8.3:1",
"8.8.8.4:1",
"8.8.8.5:1"
]
}
Last updated
Was this helpful?