Creating a couchdb standalone attachment using cURL Creating a couchdb standalone attachment using cURL curl curl

Creating a couchdb standalone attachment using cURL


You can add headers with the -H/--header switch, so to add a header for image/jpeg content type, add this to your command:

-H "Content-Type: image/jpeg"