Save a running browser into the profile
curl --request POST \
--url https://api.styne.ai/profiles/{id}/save \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"browser_id": "<string>"
}
'import requests
url = "https://api.styne.ai/profiles/{id}/save"
payload = { "browser_id": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({browser_id: '<string>'})
};
fetch('https://api.styne.ai/profiles/{id}/save', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"code": 123,
"message": "<string>",
"error_code": "<string>",
"origin": "<string>",
"request_id": "<string>"
}Save a running browser into the profile
POST
/
profiles
/
{id}
/
save
Save a running browser into the profile
curl --request POST \
--url https://api.styne.ai/profiles/{id}/save \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"browser_id": "<string>"
}
'import requests
url = "https://api.styne.ai/profiles/{id}/save"
payload = { "browser_id": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({browser_id: '<string>'})
};
fetch('https://api.styne.ai/profiles/{id}/save', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"code": 123,
"message": "<string>",
"error_code": "<string>",
"origin": "<string>",
"request_id": "<string>"
}Authorizations
Response
Success. The answer is described on https://docs.styne.ai/profiles.