On Mon, Feb 24, 2014 at 4:32 PM, Sebastien Blanc <scm.blanc(a)gmail.com>wrote:
On Mon, Feb 24, 2014 at 4:27 PM, Miguel Lemos <miguel21op(a)gmail.com>wrote:
> From the console:
>
> curl -3 -u
>
"00a21ce3-a7d9-4c8c-b583-9f0210a634e5:941186b3-ec6a-4f48-b26b-2d061eb23d9b"
> -v -H "Accept: application/json" -H "Content-type:
application/json" -X
> POST -d '{"message": {"alert":"This",
"aviso":"and that", "badge":1}}'
>
https://aerogear-metalpush.rhcloud.com/rest/sender
>
Well, that looks correct and since you are using your same backend (
https://aerogear-metalpush.rhcloud.com/rest/sender) nothing should have
changed ...
do have the server log handy ?
OpenShift's rhc command line tool is quite neat (e.g. 'rhc tail aerogear')
-Matthias
>
>
> On Mon, Feb 24, 2014 at 3:24 PM, Sebastien Blanc <scm.blanc(a)gmail.com>wrote:
>
>> Hi Miguel !
>> Can you send us more details, like the request you are sending ?
>> Seb
>>
>>
>>
>> On Mon, Feb 24, 2014 at 4:19 PM, Miguel Lemos <miguel21op(a)gmail.com>wrote:
>>
>>> Have you changed anything in the server API? Using the same code I've
>>> been using with success the last days now it returns a *" The request
>>> sent by the client was syntactically incorrect ()"*
>>>
>>> _______________________________________________
>>> aerogear-dev mailing list
>>> aerogear-dev(a)lists.jboss.org
>>>
https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>>
>>
>>
>> _______________________________________________
>> aerogear-dev mailing list
>> aerogear-dev(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>
>
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)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