简体   繁体   中英

Can custom webhook in Parse send push notification to ios app?

I am working with an api which has a webhook with a callback url, such that when a certain event occurs, it uses an HTTP POST request with whatever URL I want. Can a Parse webhook be used, such that the POST request URL can talk to Parse and tell it to send a push notification to a particular iOS device?

Yes, absolutely. You can define a custom route that accepts POST data and then sends push (or does any other Parse functions.)

Custom Webhooks on Parse Cloud Code: https://parse.com/docs/cloud_code_guide#webhooks

Full Cloud Code guide: https://parse.com/docs/cloud_code_guide#cloud_code

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM