Get PATCH request data in PHP

前端 未结 4 1491
無奈伤痛
無奈伤痛 2020-12-16 12:08

I need to make a PATCH request to a PHP application.

How can I get the data from that PATCH request inside that application?

If I h

4条回答
  •  旧时难觅i
    2020-12-16 12:42

    You have $_REQUEST superglobal containing all data we can get regardless the HTTP method used (GET, POST, PATCH, PUT)

提交回复
热议问题