You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@archiva.apache.org by Olivier Lamy <ol...@apache.org> on 2014/06/03 14:02:24 UTC

Re: Apache Archiva /fileUploadService request body example

Hi,
What is your goal exactly?
Because using this api will a bit a pain :-)
The current code store file references in the session and the post
contains some maven informations.
Why not simply using the PUT mechanism à la Maven?


On 2 June 2014 21:00, sillis <si...@ukr.net> wrote:
> I want to use Archiva like a stand-alone artifact repository for our
> bin-files. I need to have a possibility to upload files not via archiva's
> upload page. I started to look in the documentation and found rest api
> /fileUploadService. There we have :
>
> Mount Point: /archivaUiServices/fileUploadService
>
> POST Available Since: 1.4-M3
>
> Request Body element: (custom)
> media types: multipart/form-data
>
> I is it correct that i should put an html/json custom request body to upload
> a file?
> I never worked with this issue before, so I went googling the question and
> didn't found anything that would help me.
>
> So there for I have such questions:
>
> How must the body look for uploading a file like .dll for example and the
> whole request?
> I am using a add-on to chrome advanced rest client to execute the requests,
> maybe there is some client that can do this work with rest api bild-in?
>
>
>
> --
> View this message in context: http://archiva.996284.n3.nabble.com/Apache-Archiva-fileUploadService-request-body-example-tp15578.html
> Sent from the Issues mailing list archive at Nabble.com.



-- 
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy