noblack Posted February 19, 2019 Posted February 19, 2019 using Special headers, you can do PATCH, DELETE and etc. but i don't what header to do. Thanks and this question is optional.
Administrators Enyby Posted February 19, 2019 Administrators Posted February 19, 2019 You write the questions so that no one will understand them, which means there will be no answer.It should have been mentioned that these are HTTP requests, and not something else, because this is not obvious.The simplest solution:You request the server via a POST request where the POST or GET parameter is specified, with the desired value. Or just present the desired parameter.And then, the called script, upon finding this parameter or a special value, initiates the type of request you need.For example, the following PHP code: if (isset($_GET['do']) && $_GET['do'] == 'PATCH') { // do PATCH query via curl_* functions. }
Question
noblack
using Special headers, you can do PATCH, DELETE and etc.
but i don't what header to do.
Thanks and this question is optional.
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.