parseMultiPartFormData | R Documentation |
Parse multi-part form data
parseMultiPartFormData(x, boundary)
x |
A vector. |
boundary |
A string, the boundary used for the multi-part form data |
A named list.
parseMultiPartFormData( x = c( "------WebKitFormBoundaryfBloeH49iOmYtO5A", "Content-Disposition: form-data; name=\"form_name\"", "", "Example", "------WebKitFormBoundaryfBloeH49iOmYtO5A", "Content-Disposition: form-data; name=\"form_id\"", "", "test", "------WebKitFormBoundaryfBloeH49iOmYtO5A", "Content-Disposition: form-data; name=\"desktop_file\"; filename=\"limit_type.csv\"", "Content-Type: text/csv", "", "limit_type", "Aggregate", "Occurrence", "------WebKitFormBoundaryfBloeH49iOmYtO5A--" ), boundary = parseContentTypeHeader( "multipart/form-data; boundary=----WebKitFormBoundaryfBloeH49iOmYtO5A")[['boundary']] )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.