Ian Jones Logo

Curl

Flags

Specify a request type

curl -X PUT -H "Content-Type: multipart/form-data;" -F "key1=val1" "YOUR_URI"

```

Send Form Data

curl -H 'Authorization: Bearer some-guid-token' -F 'file[file]=@/Users/ianjones/Code/technical-interviews-next/downloadables.zip' https://example.com/api/files

Add Headers

curl -H 'Authorization: Bearer some-guid-token' https://example.com