Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

Test an API from a server?

This interview card answers: Test an API from a server? Show headers. Fail on HTTP errors. Send JSON.

Test an API from a server? Show headers. Fail on HTTP errors. Send JSON.
Test an API from a server? · Download PNG
Read card text

What this card says

What it is

Show headers.

curl -sI URL

Why it matters

Fail on HTTP errors.

curl -fsS URL

How / example

Send JSON.

curl -H 'Content-Type: application/json' -d '{}' URL

See all AWS revision cards