|
|
@@ -282,7 +282,7 @@ $ java -jar target/gs-rest-service-1.0.jar
|
|
282
|
282
|
Test the service
|
|
283
|
283
|
----------------
|
|
284
|
284
|
|
|
285
|
|
-Once the service starts, you can test it by pointing your web browser at [http://localhost:8080/hello-world](). Or you can consume it from the command line using [`curl`][curl]:
|
|
|
285
|
+Once the service starts, you can test it by pointing your web browser at <http://localhost:8080/hello-world>. Or you can consume it from the command line using [`curl`][curl]:
|
|
286
|
286
|
|
|
287
|
287
|
```
|
|
288
|
288
|
$ curl http://localhost:8080/hello-world
|
|
|
@@ -293,7 +293,7 @@ Either way, the response should look like this:
|
|
293
|
293
|
{"id":1,"content":"Hello, World!"}
|
|
294
|
294
|
```
|
|
295
|
295
|
|
|
296
|
|
-Now try providing a `name` query string parameter: [http://localhost:8080/hello-world?name=User]()
|
|
|
296
|
+Now try providing a `name` query string parameter: <http://localhost:8080/hello-world?name=User>
|
|
297
|
297
|
|
|
298
|
298
|
```
|
|
299
|
299
|
$ curl http://localhost:8080/hello-world?name=User
|