Is there a way to do a multipart post with the Chef http_request resource? I have something like the following which posts the file contents, but I need to post form data along with it.
http_request 'post_file_and_form_data' do
headers ({'Content-Type' => 'multipart/form-data'})
url "http://myhost:2000/myapp/upload"
action :post
message lazy { ::File.read("/somewhere/myFile.yaml") }
end