I have did a curl request and get the response bellow:
$ curl -s http://xx.com/api
$ {"key":"value"}
How can I get the value directly from the request? Like this:
$ curl -s http://xx.com/api | XXXX
$ value
I have did a curl request and get the response bellow:
$ curl -s http://xx.com/api
$ {"key":"value"}
How can I get the value directly from the request? Like this:
$ curl -s http://xx.com/api | XXXX
$ value