How to switch from POST to GET in PHP CURL

前端 未结 4 1659
-上瘾入骨i
-上瘾入骨i 2020-11-28 22:23

I have tried switching from a previous Post request to a Get request. Which assumes its a Get but eventually does a post.

I tried the following in PHP :



        
4条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-28 22:45

    CURL request by default is GET, you don't have to set any options to make a GET CURL request.

提交回复
热议问题