You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ This component cannot be run by itself. In order to run this component, all of t
12
12
### Making a POST Request
13
13
New review can be posted to the system by invoking `POST` request to the URL **localhost:8080/users/{userId}/reviews**. For example, if you want to post a review for user with id 2, you should send a `POST` request to following URL path:
14
14
```
15
-
localhost:8080/users/{userId}/reviews
15
+
localhost:8080/users/2/reviews
16
16
```
17
17
18
18
A request body of the following form must be specified for the `POST` request:
@@ -29,18 +29,18 @@ Following header must be specified:
29
29
Content-Type: application/json
30
30
```
31
31
32
-
You can use the following command to post a new review to the system:
32
+
You can use the following command to post a new review to the system for user with id 2:
0 commit comments