4

I'm trying to do a cURL, getting only the header of a site:

curl -I https://api.whatsapp.com/send/?phone=51988888888&text&app_absent=0

But I get a prompt, until pressing Enter or Ctrl + C.

Enter image description here

Is there anything that I can do?

Jorgeee
  • 293

1 Answers1

23

You have to use quotes as follows

curl -I "https://api.whatsapp.com/send/?phone=51988888888&text&app_absent=0"

to prevent & being interpreted as backgrounding of some task.

N0rbert
  • 99,918