Start profile
POST
/api/local-api/profile/start
profile
Request
Body Params application/json
profileId
string
required
Example
{
"profileId": "string"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:8000/api/local-api/profile/start' \
--header 'Content-Type: application/json' \
--data-raw '{
"profileId": "string"
}'
Responses
🟢200OK
application/json
Body
success
boolean
required
code
integer
read-onlyrequired
> 0< 0
data
object
required
websocketDebuggerUrl
string
required
debuggingPort
integer
required
browserType
string
required
Example:
doggie
browserPid
enum<string>
required
Allowed values:
availablependingsold
Example
{
"success": true,
"code": 200,
"moreInfo": {
"env": "production"
},
"data": {
"websocketDebuggerUrl": "ws://127.0.0.1:53758/devtools/browser/c7413354-4ffe-4c5f-8ce8-ef963b0d6ed1",
"debuggingPort": 53758,
"browserType": "kifox",
"browserPid": 40508
}
}
🟢200Failed
Modified at 2024-04-24 06:47:59