mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Update docs for HttpSocket methods.
delete() uses the request body, not the query string.
This commit is contained in:
parent
da805783fd
commit
809f6129e0
1 changed files with 4 additions and 4 deletions
|
@ -474,7 +474,7 @@ class HttpSocket extends CakeSocket {
|
|||
* }}}
|
||||
*
|
||||
* @param string|array $uri URI to request. See HttpSocket::_parseUri()
|
||||
* @param array $data Array of POST data keys and values.
|
||||
* @param array $data Array of request body data keys and values.
|
||||
* @param array $request An indexed array with indexes such as 'method' or uri
|
||||
* @return mixed Result of request, either false on failure or the response to the request.
|
||||
*/
|
||||
|
@ -487,7 +487,7 @@ class HttpSocket extends CakeSocket {
|
|||
* Issues a PUT request to the specified URI, query, and request.
|
||||
*
|
||||
* @param string|array $uri URI to request, See HttpSocket::_parseUri()
|
||||
* @param array $data Array of PUT data keys and values.
|
||||
* @param array $data Array of request body data keys and values.
|
||||
* @param array $request An indexed array with indexes such as 'method' or uri
|
||||
* @return mixed Result of request
|
||||
*/
|
||||
|
@ -500,7 +500,7 @@ class HttpSocket extends CakeSocket {
|
|||
* Issues a PATCH request to the specified URI, query, and request.
|
||||
*
|
||||
* @param string|array $uri URI to request, See HttpSocket::_parseUri()
|
||||
* @param array $data Array of PATCH data keys and values.
|
||||
* @param array $data Array of request body data keys and values.
|
||||
* @param array $request An indexed array with indexes such as 'method' or uri
|
||||
* @return mixed Result of request
|
||||
*/
|
||||
|
@ -513,7 +513,7 @@ class HttpSocket extends CakeSocket {
|
|||
* Issues a DELETE request to the specified URI, query, and request.
|
||||
*
|
||||
* @param string|array $uri URI to request (see {@link _parseUri()})
|
||||
* @param array $data Query to append to URI
|
||||
* @param array $data Array of request body data keys and values.
|
||||
* @param array $request An indexed array with indexes such as 'method' or uri
|
||||
* @return mixed Result of request
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue