API Testing · Junior · Question 30 of 75

Which curl flag shows response headers along with the body?

Show the answer

Correct answer: -i

Explanation

-i includes headers; -v shows the full exchange with request headers too, which helps debug auth and redirects.

Further reading

Problem with a question

API Testing · Junior · question 30

Test yourself

Take the API Testing · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz