'init'
This commit is contained in:
16
localAPI-main/js-examples/example-stop-profile.js
Normal file
16
localAPI-main/js-examples/example-stop-profile.js
Normal file
@@ -0,0 +1,16 @@
|
||||
const axios = require('axios');
|
||||
|
||||
const profileId = 'XX';
|
||||
const config = {
|
||||
method: 'get',
|
||||
url: `http://local.adspower.net:50325/api/v1/browser/stop?user_id=${profileId}`,
|
||||
headers: { }
|
||||
};
|
||||
|
||||
axios(config)
|
||||
.then((response) => {
|
||||
console.log(JSON.stringify(response.data));
|
||||
})
|
||||
.catch((error) => {
|
||||
console.log(error);
|
||||
});
|
||||
Reference in New Issue
Block a user