Avatar

Avatar

mironrodrigo

Avatar

mironrodrigo

mironrodrigo

14-04-2020

Hello, good afternoon.

 

Here in our Company, we use Airship Urban to send Push messages.We are trying to integrate it to ACS using External API.

 

However, we can't customize the payload as expected by Airship Urban.

 

The log error: (400 - Bad Request)

 

mironrodrigo_0-1586903847232.png

 

 


So, can't we customize the payload message? This is this is expected by urban:

--request POST \
--header "Authorization: xxxxxxxx
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--data-binary '{"audience": {"named_user": "xxxxxxx"}, "notification": {"alert": "Test"}, "device_types": ["android"]}' https://go.urbanairship.com/api/push

 

Thank you very much

Who Me Too'd this topic