【问题标题】:firebase push notification header content-type error found "content type : is missing error"发现firebase推送通知标头内容类型错误“内容类型:缺少错误”
【发布时间】:2022-07-20 16:04:38
【问题描述】:

Firebase 推送通知所有代码工作正常只是发出标头未找到 Content-Type 丢失但我正在 curl 中发送

【问题讨论】:

    标签: laravel firebase-authentication firebase-cloud-messaging cordova-plugin-fcm


    【解决方案1】:

    只需删除标题中的“:”冒号

    'Content-Type:' =>'application/json' 去掉冒号后

    'Content-Type' =>'application/json'

    另外,请尝试更新您的Push Notification Package v5.0.0

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2020-11-15
      • 1970-01-01
      • 2017-01-01
      • 2021-12-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多