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条)

报告相同问题?