7 lines
147 B
Bash
7 lines
147 B
Bash
#! /bin/bash
|
|
|
|
curl -i -sS localhost:3000/api/notes/$ID
|
|
|
|
curl -sS localhost:3000/api/notes/$ID \
|
|
| jq '{id:.id, content:.content, title:.title}'
|