api-srvr: README update
This commit is contained in:
parent
c3f3d7ec71
commit
61b375c913
1 changed files with 4 additions and 4 deletions
|
@ -11,7 +11,7 @@ The template is functional and you can test it using HTTPie, curl or Postman.
|
||||||
### Start the API server
|
### Start the API server
|
||||||
|
|
||||||
```
|
```
|
||||||
npm run dev
|
$>npm run dev
|
||||||
|
|
||||||
> api_srvr@1.0.0 dev
|
> api_srvr@1.0.0 dev
|
||||||
> nodemon ./src/apisrvr.ts
|
> nodemon ./src/apisrvr.ts
|
||||||
|
@ -31,8 +31,8 @@ Press Ctrl-C to exit
|
||||||
|
|
||||||
Using another terminal, run the following wommand
|
Using another terminal, run the following wommand
|
||||||
|
|
||||||
...
|
```
|
||||||
$> http localhost:3000/
|
$>http localhost:3000/
|
||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Connection: keep-alive
|
Connection: keep-alive
|
||||||
Content-Length: 16
|
Content-Length: 16
|
||||||
|
@ -45,4 +45,4 @@ X-Powered-By: Express
|
||||||
Main page loaded
|
Main page loaded
|
||||||
|
|
||||||
$>
|
$>
|
||||||
...
|
```
|
||||||
|
|
Loading…
Reference in a new issue