downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

HttpRequest::setSslOptions> <HttpRequest::setQueryData
Last updated: Fri, 24 Jul 2009

view this page in

HttpRequest::setRawPostData

(PECL pecl_http 0.14.0-1.4.1)

HttpRequest::setRawPostDataSet raw post data

설명

public bool HttpRequest::setRawPostData ([ string $raw_post_data ] )

Set raw post data to send, overwriting previously set raw post data. Don't forget to specify a content type. Affects only POST and custom requests.

Only either post fields or raw post data can be used for each request. Raw post data has higher precedence and will be used even if post fields are set.

인수

raw_post_data

raw post data

반환값

성공할 경우 TRUE를, 실패할 경우 FALSE를 반환합니다.



add a note add a note User Contributed Notes
HttpRequest::setRawPostData
matteo dot giaccone at acmos dot net
05-Nov-2009 12:31
use setBody instead to have the not deprecated version.

HttpRequest::setSslOptions> <HttpRequest::setQueryData
Last updated: Fri, 24 Jul 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites