Skip to content

Commit 20d8955

Browse files
SoftlySplinterGitHub Enterprise
authored and
GitHub Enterprise
committed
Make URLs generic
1 parent 933ef03 commit 20d8955

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ To install the sample through Liberty configuration
4848
If the sample is correctly deployed, you should see the following messages in the Liberty logs:
4949

5050
```
51-
A CWWKT0016I: Web application available (default_host): http://mvs.hursley.ibm.com/shop/
51+
A CWWKT0016I: Web application available (default_host): http://mvs.example.ibm.com/shop/
5252
...
53-
A CWWKT0016I: Web application available (default_host): http://mvs.hursley.ibm.com/stock/
53+
A CWWKT0016I: Web application available (default_host): http://mvs.example.ibm.com/stock/
5454
```
5555

5656
If you use CICS bundle deployment, you will also need to define a RACF profile for users to access the stock REST API.
@@ -65,7 +65,7 @@ To create new items in the store send a HTTP request to the stock API:
6565

6666
```http
6767
POST /stock/api/items HTTP/1.1
68-
Host: mvs.hursley.ibm.com
68+
Host: mvs.example.ibm.com
6969
Content-Type: application/json
7070
Authentication: BASIC <base64 encoded username,password>
7171
@@ -85,16 +85,16 @@ Content-Type: application/json
8585
You can use this request using the command line tool cURL:
8686

8787
```shell
88-
curl mvs.hursley.ibm.com/stock/api/items/ -X POST -d '{ "name": "CICS TS for z/OS", "stock": 2 }' -H 'Content-Type: application/json' --user MVSUSER1
88+
curl mvs.example.ibm.com/stock/api/items/ -X POST -d '{ "name": "CICS TS for z/OS", "stock": 2 }' -H 'Content-Type: application/json' --user MVSUSER1
8989
```
9090

91-
Once one or more items have been created, you can then use a browser to navigate to http://mvs.hursley.ibm.com/shop/ and use the shop.
91+
Once one or more items have been created, you can then use a browser to navigate to http://mvs.example.ibm.com/shop/ and use the shop.
9292

9393
More stock can be added to an item through the following request (in this case we update item with the ID `1`):
9494

9595
```http
9696
PUT /stock/api/items/1
97-
Host: mvs.hurlsey.ibm.com
97+
Host: mvs.example.ibm.com
9898
Content-Type: application/json
9999
Authentication: BASIC <base64 encoded username,password>
100100
@@ -112,7 +112,7 @@ You can view the current state of an item by sending a GET request (in this case
112112

113113
```http
114114
GET /stock/api/items/1
115-
Host: mvs.hurlsey.ibm.com
115+
Host: mvs.example.ibm.com
116116
Accept: application/json
117117
Authentication: BASIC <base64 encoded username,password>
118118
```

0 commit comments

Comments
 (0)