Hi Mark,

Thanks for trying out our UnifiedPush server, could you please describe what you have done so that we could reproduce it? I’ve just tested with a curl request, but that seems to work still.

curl -u "40997720-b901-4c75-b49e-b19fe63e6207:d0418812-1150-4697-b268-7d614c4a6b81" -v -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '{ "deviceToken" : "BPA91bHpbMXepp4odlb20vYOv0gQyNIyFu2X3OXR3TjqR8qecgWivima_UiLPFgUBs_10Nys2TUwUyWlixrIta35NXW-5Z85OdXcbb_3s3p0qaa_a7NpFlaX9GpidK_BdQNMsx2gX8BrE4Uw7s22nPCcEn1U1_mo-T6hcF5unYt965PDwRTRss7", "categories" : ["foo", "d"]}' http://localhost:8080/ag-push/rest/registry/device

{"id":"6d96fb2f-71be-4c8c-b5c0-d10648336a0c","enabled":true,"deviceToken":"BPA91bHpbMXepp4odlb20vYOv0gQyNIyFu2X3OXR3TjqR8qecgWivima_UiLPFgUBs_10Nys2TUwUyWlixrIta35NXW-5Z85OdXcbb_3s3p0qaa_a7NpFlaX9GpidK_BdQNMsx2gX8BrE4Uw7s22nPCcEn1U1_mo-T6hcF5unYt965PDwRTRss7","deviceType":null,"operatingSystem":null,"osVersion":null,"alias":null,"categories":["d","foo"],"platform":"android","simplePushEndpoint":null,"variantType":null}

Cheers,
Erik Jan

On 12 May,2014, at 16:02 , Mark Scholtes <m.scholtes@nol-is.de> wrote:

Hi!

I want to register a device, but the response from the unified push server seems to be broken:

!!org.jboss.aerogear.unifiedpush.model.InstallationImpl
alias: juntian
categories: !!set {tagging: null}
deviceToken: b3baa6597da6abe8
deviceType: Full Android on x86 Emulator
enabled: true
id: b62be19e-62b3-4b80-bbbb-a136eee34921
operatingSystem: android
osVersion: 2.3.7
platform: android
simplePushEndpoint: null


This is not a valid JSON.

I was testing on OpenShift. UnifiedPush Server (0.10.2)
https://aerogear-madaneus.rhcloud.com


With kind regards
Mit freundlichem Gruß
i. A. Mark Scholtes
---

NOLIS GmbH
Sitz Nienburg/Weser
Geschäftsführer: Uwe Warnecke
Registergericht Walsrode - HRB 30797

Celler Straße 53
31582 Nienburg/Weser

Telefon: 0 50 21 / 88 77 555
Telefax: 0 50 21 / 88 77 599
E-Mail: m.scholtes@nolis.de
Internet: http://www.nolis.de



_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev