Skip to content
This repository was archived by the owner on Nov 13, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions exercises/01/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The CDS command line tool is the heart of everything you do when developing CAP

:point_right: First, relate the `@sap` namespace to the SAP NPM registry:

```shell
```sh
user@host:~
=> npm set @sap:registry=https://npm.sap.com
```
Expand Down Expand Up @@ -103,7 +103,7 @@ When successfully installed, you should see the extension thus (again, the versi

:point_right: Run the following command from the terminal to check whether all required tools are installed (this is an experimental tool, please contact the instructor if you have any questions):

```shell
```sh
npx check-sap-cloud-readiness -codejam-cap
```

Expand Down
4 changes: 3 additions & 1 deletion exercises/05/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,10 @@ curl \
-d '{"ID": "527ef85a-aef2-464b-89f6-6a3ce64f2e14", "book_ID":427,"quantity":9}' \
-H 'Content-Type: application/json' \
http://localhost:4004/catalog/Orders
```

# For Windows users:
For Windows users:
```sh
curl ^
-d "{\"ID\": \"527ef85a-aef2-464b-89f6-6a3ce64f2e14\", \"book_ID\":427,\"quantity\":9}" ^
-H "Content-Type: application/json" ^
Expand Down
16 changes: 12 additions & 4 deletions exercises/06/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ curl \
-d '{"ID": 162, "name": "Iain M Banks"}' \
-H 'Content-Type: application/json' \
http://localhost:4004/catalog/Authors
```

# For Windows users:
For Windows users:
```sh
curl ^
-d "{\"ID\": 162, \"name\": \"Iain M Banks\"}" ^
-H "Content-Type: application/json" ^
Expand All @@ -49,8 +51,10 @@ curl \
-d '{"ID": 44138, "title": "Consider Phlebas", "stock": 541, "author_ID": 162 }' \
-H 'Content-Type: application/json' \
http://localhost:4004/catalog/Books
```

# For Windows users:
For Windows users:
```sh
curl ^
-d "{\"ID\": 44138, \"title\": \"Consider Phlebas\", \"stock\": 541, \"author_ID\": 162 }" ^
-H "Content-Type: application/json" ^
Expand Down Expand Up @@ -101,8 +105,10 @@ curl \
-d '{"ID": 47110, "title": "The Player of Games", "stock": 405, "author_ID": 162 }' \
-H 'Content-Type: application/json' \
http://localhost:4004/catalog/Books
```

# For Windows users:
For Windows users:
```sh
curl ^
-d "{\"ID\": 47110, \"title\": \"The Player of Games\", \"stock\": 405, \"author_ID\": 162 }" ^
-H "Content-Type: application/json" ^
Expand Down Expand Up @@ -132,8 +138,10 @@ You should also see a line in the terminal (where you invoked `cds serve all`) l
curl \
-X DELETE \
'http://localhost:4004/catalog/Books(251)'
```

# For Windows users:
For Windows users:
```sh
curl ^
-X DELETE ^
"http://localhost:4004/catalog/Books(251)"
Expand Down
12 changes: 9 additions & 3 deletions exercises/07/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,10 @@ curl \
-d '{"book_ID":201,"quantity":2}' \
-H 'Content-Type: application/json' \
http://localhost:4004/catalog/Orders
```

# For Windows users:
For Windows users:
```sh
curl ^
-d "{\"book_ID\": 201, \"quantity\": 2}" ^
-H "Content-Type: application/json" ^
Expand All @@ -80,8 +82,10 @@ curl \
-d '{"book_ID":252,"quantity":7}' \
-H 'Content-Type: application/json' \
http://localhost:4004/catalog/Orders
```

# For Windows users:
For Windows users:
```sh
curl ^
-d "{\"book_ID\": 252, \"quantity\": 7}" ^
-H "Content-Type: application/json" ^
Expand All @@ -95,8 +99,10 @@ curl \
-d '{"book_ID":421,"quantity":42}' \
-H 'Content-Type: application/json' \
http://localhost:4004/catalog/Orders
```

# For Windows users:
For Windows users:
```sh
curl ^
-d "{\"book_ID\": 421, \"quantity\": 42}" ^
-H "Content-Type: application/json" ^
Expand Down