[aerogear-dev] AeroGear TODO updates

Matthias Wessendorf matzew at apache.org
Thu Sep 27 02:23:24 EDT 2012


Thanks for unblocking me :)

-Matthias

On Thu, Sep 27, 2012 at 6:02 AM, Matthias Wessendorf <matzew at apache.org> wrote:
> w00t !
>
> thanks for doing that!!!
>
> On Thu, Sep 27, 2012 at 3:23 AM, Bruno Oliveira <bruno at abstractj.org> wrote:
>> Ahoy-hoy!
>>
>> Just to give a heads up, I did some changes at our TODO app
>>
>> - Auth-Token will come from http headers response. For example:
>>
>> curl -v -H "Accept: application/json" -H "Content-type: application/json" -X
>> POST http://localhost:8080/todo-server/auth/login -d
>> '{"username":"john","password":"123"}'
>>
>> < Auth-Token: 93351472-9949-47e8-bc4e-7edfe57a9c52
>> < Content-Type: application/json
>> < Transfer-Encoding: chunked
>> < Date: Thu, 27 Sep 2012 01:14:31 GMT
>>
>> - Auth-Token must be sent on http headers at each request and will be
>> validated at our servlet filter. If you're curious about it
>> https://github.com/aerogear/TODO/commit/734af2d90fadcf1f99e9766cbf3e1e9a3b5092b6
>>
>> For example:
>>
>> curl -v -H "Accept: application/json" -H "Content-type: application/json"
>> --header "Auth-Token: bde58803-fc3b-4c9e-b88d-32a9d5d2ce28" -X POST -d
>> '{"title": "test", "style":"mydescription"}'
>> http://localhost:8080/todo-server/projects
>>
>> - aerogear.js configuration header has changed for the reasons above (Kris
>> let me know if I did something wrong)
>>
>> - The latest 'stable' tag is 0.0.6.M6
>>
>> Found an issue? https://issues.jboss.org/browse/AEROGEAR, please.
>>
>> --
>> "The measure of a man is what he does with power" - Plato
>> -
>> @abstractj
>> -
>> Volenti Nihil Difficile
>>
>> _______________________________________________
>> aerogear-dev mailing list
>> aerogear-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>
>
>
>
> --
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


More information about the aerogear-dev mailing list