douchun1900 2019-04-01 17:40
浏览 118
已采纳

php Curl在标题中获取JWT

I have a rest request, I used curl for php but I need to get the response JWT that comes in the headers to make a new request signed by JWT without needing to re-login. every time I make a request the API returns a new JWT to do another but I do not know how to get it from curl, Someone knows how?

  • 写回答

2条回答 默认 最新

  • doutangdan3588 2019-04-01 18:09
    关注

    i need enable CURLOPT_HEADER => true in my array

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 fastreport怎么判断当前页数
  • ¥15 Kylin-Desktop-V10-GFB-Release-JICAI_02- 2207-Build14-ARM64.iso有没有这个版本的系统啊
  • ¥15 能不能通过蓝牙将传感器数据传送到手机上
  • ¥20 100元python和数据科学实验项目
  • ¥15 根据时间在调用出列表
  • ¥15 R 包chipseeker 安装失败
  • ¥15 Veeam Backup & Replication 9.5 还原问题
  • ¥15 vue-print-nb
  • ¥15 winfrom的datagridview下拉框变成了黑色,渲染不成功
  • ¥20 利用ntfy实现短信推送