How to remove HTTP headers from CURL response?

前端 未结 10 1153
被撕碎了的回忆
被撕碎了的回忆 2020-12-13 17:26

I have a php script that returns just plain text without any html. Now I want to make a cURL request to that script and I get the following response:

<
10条回答
  •  死守一世寂寞
    2020-12-13 17:45

    If you are using nuSoap, you can access data without headers with $nsoap->responseData or $nsoap->response, if you want the full headers.

    Just in case someone needs that.

提交回复
热议问题