Commit 205fbee 1 parent 08f2e99 commit 205fbee Copy full SHA for 205fbee
File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change
1
+ Fixes the domain usage examples in the docs.
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ their repository.
7
7
8
8
Start by creating a new repository named "foo":
9
9
``` bash
10
- curl -X POST $BASE_ADDR /pulp/api/v3/repositories/npm/npm/ -d ' {"name": "foo"}' -H ' Content-Type: application/json'
10
+ curl -X POST $BASE_ADDR /pulp/{domain}/ api/v3/repositories/npm/npm/ -d ' {"name": "foo"}' -H ' Content-Type: application/json'
11
11
```
12
12
13
13
=== "Response"
@@ -25,7 +25,7 @@ Creating a remote object informs Pulp about an external content source.
25
25
26
26
=== "Create remote bar"
27
27
``` bash
28
- curl -X POST $BASE_ADDR /pulp/pulp /api/v3/remotes/npm/npm/ -d ' {"name": "bar", "url": "http://some.url/somewhere/"}' -H ' Content-Type: application/json'
28
+ curl -X POST $BASE_ADDR /pulp/{domain} /api/v3/remotes/npm/npm/ -d ' {"name": "bar", "url": "http://some.url/somewhere/"}' -H ' Content-Type: application/json'
29
29
```
30
30
31
31
=== "Response"
You can’t perform that action at this time.
0 commit comments