wiki:S3/S3XML/DataExportImport

Version 4 (modified by Fran Boon, 14 years ago) ( diff )

--

Table of Contents

  1. File uploads

S3XRC | Data Export/Import | S3XML

S3 Data Export/Import

File uploads

The <data> element for an upload field can contain an attribute "filename",e.g.:

<data field="image" filename="myphoto.png"/>

and then just attach that file to the request and it will be uploaded into that field.

Note that in multipart request bodies the XML/JSON source must be named <resourcename>.<extension>, e.g. "person.xml".


DeveloperGuidelines

Note: See TracWiki for help on using the wiki.