Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 257 Bytes

File metadata and controls

14 lines (9 loc) · 257 Bytes

POST Request

Which curl option is used to send data with a POST request?

  1. --data or -d
  2. --body
  3. --payload
  4. --send

Correct: 1

Difficulty: 2

--data (or -d) lets you include data in the body, which makes curl use POST by default.