2021-08-07

This commit is contained in:
2021-08-07 11:30:31 +09:00
parent 7bb5ca68c1
commit 50f83e3fa0
36 changed files with 667 additions and 8 deletions

View File

@@ -0,0 +1,4 @@
[source,bash]
----
$ curl 'http://localhost:8080/name/Charlie' -i -X GET
----

View File

@@ -0,0 +1,6 @@
[source,http,options="nowrap"]
----
GET /name/Charlie HTTP/1.1
Host: localhost:8080
----

View File

@@ -0,0 +1,8 @@
[source,http,options="nowrap"]
----
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 27
{"name":"Charlie","age":11}
----

View File

@@ -0,0 +1,4 @@
[source,bash]
----
$ http GET 'http://localhost:8080/name/Charlie'
----

View File

@@ -0,0 +1,4 @@
[source,options="nowrap"]
----
----

View File

@@ -0,0 +1,4 @@
[source,options="nowrap"]
----
{"name":"Charlie","age":11}
----

View File

@@ -0,0 +1,12 @@
|===
|Path|Type|Description
|`+name+`
|`+String+`
|Name...
|`+age+`
|`+Number+`
|Age...
|===