You are here

function HTTP_Request::setBody in Flickr API 5

Sets the request body (for POST, PUT and similar requests)

@access public

Parameters

string Request body:

File

phpFlickr/PEAR/HTTP/Request.php, line 623

Class

HTTP_Request
Class for performing HTTP requests

Code

function setBody($body) {
  $this->_body = $body;
}