You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@sling.apache.org by mjk <mj...@gmail.com> on 2011/03/09 14:17:17 UTC
POST Servlet
Is it possible to post binary data (files) with cURL, Ant or Maven using the
Sling post servlet?
Re: POST Servlet
Posted by Bertrand Delacretaz <bd...@apache.org>.
Hi,
On Wed, Mar 9, 2011 at 2:17 PM, mjk <mj...@gmail.com> wrote:
> Is it possible to post binary data (files) with cURL, Ant or Maven using the
> Sling post servlet?
The easiest is to use a PUT request which talks to the Sling WebDAV interface.
See the "curl -T html.esp ..." example in
http://sling.apache.org/site/discover-sling-in-15-minutes.html
-Bertrand