P
P
PlayBoyXXX2021-07-07 14:41:19
linux
PlayBoyXXX, 2021-07-07 14:41:19

How to parse curl output?

How to parse curl output

curl -F "[email protected]/root/test" https://file.io

On the output I get:

{"success":true,"status":200,"id":"c9d603a0-df17-11eb-bcc8-07b169cb9904","key":"SMy0a0p10W1k","name": "test","link":" https://file.io/SMy0a0p10W1k","private":false,"exp... "}

How to make only this output:
link":" https://file. io/SMy0a0p10W1k
Many thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
ky0, 2021-07-07
@PlayBoyXXX

Send some jq to the curl output .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question