POST http://127.0.0.1:2268/profiles/start/:profileID
curl -X POST http://127.0.0.1:2268/profiles/start/:profileID
const hidemyacc = new Hidemyacc();
const response= await hidemyacc.start("652e8e982293bc496ec38ecb");
{
"proxy": "{\"host\":\"127.0.0.1\",\"mode\":\"http\",\"password\":\"d92913ab\",\"port\":26951,\"username\":\"nguyenmanhtien.bh\"}",
"params": "--disable-gpu --window-size=800,600 --window-position=100,100"
}
Status code: 200 OK
{
"code": 1,
"data": {
"success": true,
"port": 27999,
"wsUrl": "ws://127.0.0.1:27999/devtools/browser/23b9ca53-5e90-4977-99a9-30a95b0c03f5",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36",
"majorVersion": 113
}
}
Status code 402: Payment required
{
"code": 0
}