Skip to main content

Elvis 5 REST API - create

Comments

Do you have corrections or additional information about this article? Leave a comment!

Do you have a question about what is described in this article? Please contact support here.


5 comments

  • Jimmy Bway

    Hi can i have a full example using spring resttemplate ? or apache httpclient ?

    0
  • Ankita Nalawade225

    could you please explain more on upload file on Elvis from FTP using form or using API or from local

    I have tried all,but its not working.

     

    0
  • Erik Korver

    Hi Ankita,

    Please have a look at this article describing the scheduled FTP plugin to have Elvis Import from an FTP server: https://helpcenter.woodwing.com/hc/en-us/articles/202967245

    0
  • Scott Griswold

    Would it be possible to get an example of what the "Filedata" part of the URL would look like?

    We have been making 0kb placeholders to attach images to after populating the metadata fields. Instead, we would like to place a specific file as the placeholder. Where would this file need to be in order to target it with the URL?

    Thank you,

    Scott Griswold

    0
  • Nico Krijnen

    Hi Scott,

    Creating placeholders can indeed be done with just parameters in the URL. For uploading an actual file, that won't work. The "Filedata" can not be used as part of the URL in a GET request. It can only be sent as part of the POST body by doing a multipart/form-data POST.

    You can see an example on how to use it from a browser here:

    https://github.com/WoodWing/elvis-API-samples/blob/master/api_samples/upload_portal/upload.html#L163

    For technical details on how that works on HTTP level, see:

    https://stackoverflow.com/questions/8659808/how-does-http-file-upload-work

    0

Please sign in to leave a comment.