multipart/form-data
I mainly focused on generating a multipart message this week. I was using curl to send a multipart formpost previously. For example, curl -kv -F ‘lang=vlog’ -F ‘[email protected]’ http://127.0.0.4:8080/api/v19/workspace.elaborate was used to transfer data to a server. The request body was shown below. (Note: A boundary was a string of random numbers.) –MIME_boundary_2CA6E12165908974 Content-Disposition: form-data; name=”lang” vlog –MIME_boundary_2CA6E12165908974 Content-Disposition: form-data; name=”…”; filename=”source.v” Content-Type: text/plain (contents of the file) –MIME_boundary_2CA6E12165908974– Instead of using curl to transfer a multipart message, I had Read more…