Search the Community

Showing results for tags 'push'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Windev Desktop, Mobile, Web
    • Windev Desktop
    • Windev Mobile
    • Webdev
    • Bugs
  • Banco de Dados
    • HFSQL
    • PostgreSQL
    • MySQL, MariaDB, Outros
  • Vendendo Seu Peixe
    • Hire a Professional to solve your Demand!
    • Cursos
    • Aplicativos
  • Tips and Tricks
    • Tips and Tricks
    • Fivewin / xHb / Harbor migration to Windev

Categories

  • Files

Calendars

  • Community Calendar

Categories

  • Articles

Found 1 result

  1. Aqui um exemplo de rest metodo GET para mandar push. oRequest is httpRequest oResponse is httpResponse oRequest..URL = "https://fcm.googleapis.com/fcm/send" oRequest..Method = httpPost oRequest..Header["Authorization"] = "key=AAAACvU7oQQ:chave firebase" oRequest..Header["Content-Type"] = "application/json" oRequest..ContentType = "application/json" // Request content oRequest..Content = [ { "to" : "token cell 1", "to": "token cell 1", "collapse_key" : "type_a", "notification" : { "body" : "New announcement assigned", "OrganizationId":"2", "content_available" : true, "priority" : "high", "subtitle":"Elementary School", "Title":"hello" }, "data" : { "priority" : "high", "sound":"app_sound.wav", "content_available" : true, "bodyText" : "New Announcement assigned", "organization" :"Elementary school" } } ] // Runs the request and retrieves the response oResponse = HTTPSend(oRequest)