Skip to content

Commit 9aa738d

Browse files
authored
Merge pull request #43 from ZennoLab/dev
fix: add missing name parameter in API URL examples
2 parents bf7bb80 + 791437e commit 9aa738d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/ZennoBrowser/zb-public-API/profile-management/creating-browser-profile.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ import DisclaimerNotice from '@site/src/components/DisclaimerNotice';
4747
**CURL:**
4848

4949
```bash
50-
curl 'http://localhost:8160/v1/profiles/create?name=&workspaceId=-1&folderId=&screen=&cpu=&memory=&language=&geoLocation=&timeZone=&webGl=&webGpu=&webRtc=&domRect=&audio=&fonts=&battery=&plugins=&proxyServerId=&speechVoices=&cookies=&notes=&tags=' \
50+
curl 'http://localhost:8160/v1/profiles/create?name=ApiProfile&workspaceId=-1&folderId=&screen=&cpu=&memory=&language=&geoLocation=&timeZone=&webGl=&webGpu=&webRtc=&domRect=&audio=&fonts=&battery=&plugins=&proxyServerId=&speechVoices=&cookies=&notes=&tags=' \
5151
--request POST \
5252
--header 'Api-Token: YOUR_SECRET_TOKEN'
5353
```
@@ -60,7 +60,7 @@ var client = new HttpClient();
6060
var request = new HttpRequestMessage
6161
{
6262
Method = HttpMethod.Post,
63-
RequestUri = new Uri("http://localhost:8160/v1/profiles/create?name=&workspaceId=-1&folderId=&screen=&cpu=&memory=&language=&geoLocation=&timeZone=&webGl=&webGpu=&webRtc=&domRect=&audio=&fonts=&battery=&plugins=&proxyServerId=&speechVoices=&cookies=&notes=&tags="),
63+
RequestUri = new Uri("http://localhost:8160/v1/profiles/create?name=ApiProfile&workspaceId=-1&folderId=&screen=&cpu=&memory=&language=&geoLocation=&timeZone=&webGl=&webGpu=&webRtc=&domRect=&audio=&fonts=&battery=&plugins=&proxyServerId=&speechVoices=&cookies=&notes=&tags="),
6464
Headers =
6565
{
6666
{ "Api-Token", "YOUR_SECRET_TOKEN" },
@@ -76,7 +76,7 @@ using (var response = await client.SendAsync(request))
7676

7777
**Cube:**
7878
```
79-
http://localhost:8160/v1/profiles/create?name=&workspaceId=-1&folderId=&screen=&cpu=&memory=&language=&geoLocation=&timeZone=&webGl=&webGpu=&webRtc=&domRect=&audio=&fonts=&battery=&plugins=&proxyServerId=&speechVoices=&cookies=&notes=&tags=
79+
http://localhost:8160/v1/profiles/create?name=ApiProfile&workspaceId=-1&folderId=&screen=&cpu=&memory=&language=&geoLocation=&timeZone=&webGl=&webGpu=&webRtc=&domRect=&audio=&fonts=&battery=&plugins=&proxyServerId=&speechVoices=&cookies=&notes=&tags=
8080
```
8181

8282
![](../assets/image14.png)

i18n/en/docusaurus-plugin-content-docs-zennobrowser/current/zb-public-API/profile-management/creating-browser-profile.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ All parameters are optional if another is not specified.
4747
**CURL:**
4848

4949
```bash
50-
curl 'http://localhost:8160/v1/profiles/create?name=&workspaceId=-1&folderId=&screen=&cpu=&memory=&language=&geoLocation=&timeZone=&webGl=&webGpu=&webRtc=&domRect=&audio=&fonts=&battery=&plugins=&proxyServerId=&speechVoices=&cookies=&notes=&tags=' \
50+
curl 'http://localhost:8160/v1/profiles/create?name=ApiProfile&workspaceId=-1&folderId=&screen=&cpu=&memory=&language=&geoLocation=&timeZone=&webGl=&webGpu=&webRtc=&domRect=&audio=&fonts=&battery=&plugins=&proxyServerId=&speechVoices=&cookies=&notes=&tags=' \
5151
--request POST \
5252
--header 'Api-Token: YOUR_SECRET_TOKEN'
5353
```
@@ -60,7 +60,7 @@ var client = new HttpClient();
6060
var request = new HttpRequestMessage
6161
{
6262
Method = HttpMethod.Post,
63-
RequestUri = new Uri("http://localhost:8160/v1/profiles/create?name=&workspaceId=-1&folderId=&screen=&cpu=&memory=&language=&geoLocation=&timeZone=&webGl=&webGpu=&webRtc=&domRect=&audio=&fonts=&battery=&plugins=&proxyServerId=&speechVoices=&cookies=&notes=&tags="),
63+
RequestUri = new Uri("http://localhost:8160/v1/profiles/create?name=ApiProfile&workspaceId=-1&folderId=&screen=&cpu=&memory=&language=&geoLocation=&timeZone=&webGl=&webGpu=&webRtc=&domRect=&audio=&fonts=&battery=&plugins=&proxyServerId=&speechVoices=&cookies=&notes=&tags="),
6464
Headers =
6565
{
6666
{ "Api-Token", "YOUR_SECRET_TOKEN" },
@@ -76,7 +76,7 @@ using (var response = await client.SendAsync(request))
7676

7777
**Cube:**
7878
```
79-
http://localhost:8160/v1/profiles/create?name=&workspaceId=-1&folderId=&screen=&cpu=&memory=&language=&geoLocation=&timeZone=&webGl=&webGpu=&webRtc=&domRect=&audio=&fonts=&battery=&plugins=&proxyServerId=&speechVoices=&cookies=&notes=&tags=
79+
http://localhost:8160/v1/profiles/create?name=ApiProfile&workspaceId=-1&folderId=&screen=&cpu=&memory=&language=&geoLocation=&timeZone=&webGl=&webGpu=&webRtc=&domRect=&audio=&fonts=&battery=&plugins=&proxyServerId=&speechVoices=&cookies=&notes=&tags=
8080
```
8181

8282
![](../assets/image14.png)

0 commit comments

Comments
 (0)