Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-7513

Failure to upload attachments using REST

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.4
    • Fix Version/s: 3.5.1, 4.0
    • Component/s: REST
    • Labels:
      None
    • Environment:
      Tested on Windows XP and Linux debian Lenny and Wheezy.
      Prior XWIKI version is working.
    • keywords:
      Restful Api, Attachement, upload, curl
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Restful api for upload of attachment is broken.

      curl -u Admin:admin -T /home/test.pdf http://127.0.0.1/xwiki/rest/wikis/xwiki/spaces/Main/pages/WebHome/attachments/foo.pdf

      Is resulting on ubuntu: The given resource variant is not supported.
      No upload.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vmassol Vincent Massol
                Reporter:
                legeinfo Volker Lapczynski
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: