cURL to Code

Copy a request out of your browser devtools as cURL, drop it in here, and take it away as working code in the language you are actually writing.

The curl command

Line continuations with \, ^ or a backtick are all understood, so paste it exactly as you copied it.

What it asks for

Paste a command above.

Headers and query
Code
Code appears here.