Specify content-type for put request

The Barcode API server does not accept PUT requests without the Content-Type
specified.