|
|
|
|
|
by joshka
3181 days ago
|
|
and nor should it. If you think the unix way and use a tool that excels in that you'll find your path to success (e.g. jq). $ userId=$(http get https://jsonplaceholder.typicode.com/posts/1 | jq '.userId')
$ http get "https://jsonplaceholder.typicode.com/users/$userId" | jq '{name,email}'
{
"name": "Leanne Graham",
"email": "Sincere@april.biz"
}
|
|