[aerogear-dev] Fwd: AeroGear Pipe

Daniel Passos dpassos at redhat.com
Fri Jun 19 09:24:56 EDT 2015


Hi Autur,

For now, the only way to use HTTP put is saving[1] an object with id,
because that is the common use for PUT, update a *specific* resource.

https://github.com/aerogear/aerogear-android-pipe/blob/master/aerogear-android-pipe/src/main/java/org/jboss/aerogear/android/pipe/rest/RestRunner.java#L306-L317

-- 
-- Passos

On Fri, Jun 19, 2015 at 6:36 AM, Artur Dryomov <artur.dryomov at gmail.com>
wrote:

> Hi,
>
> I need to perform a HTTP PUT request using the Hawkular API. Documentation
> <http://www.hawkular.org/docs/rest/rest-alerts.html#_alert_handling> and
> example <http://pastie.org/private/fw02g8us6g20esc7dczng>. I. e. I need
> to send PUT request with some URL query. What is the best way to achieve
> that using AeroGear? Should I use HTTP client instead of AeroGear? I
> haven’t found any related APIs in the documentation.
>
> Artur.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20150619/f8dd08f4/attachment.html 


More information about the aerogear-dev mailing list