Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b93b5a2

Browse files
[dev] Added an HTTP file with the requests
1 parent a0e8397 commit b93b5a2

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
### getting an existing product
2+
GET localhost:8080/product/0
3+
4+
### getting an inexisting product
5+
GET localhost:8080/product/3
6+
7+
### creating a product
8+
POST localhost:8080/product
9+
Content-Type: application/json
10+
11+
{
12+
"id": 2,
13+
"name": "Another one"
14+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /