Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Ixudra
Curl
Builder
asJsonRequest
Ixudra\Curl\Builder::asJsonRequest PHP Method
Builder Class Documentation
Mostrar archivo
Open project: ixudra/curl
asJsonRequest()
public
method
Configure the package to encode the request data to json before sending it to the server
public
asJsonRequest
( ) :
Builder
return
Builder
public function asJsonRequest() { return $this->withPackageOption('asJsonRequest', true); }
Builder
allowRedirect
appendDataToURL
asJson
asJsonRequest
asJsonResponse
containsFile
delete
download
enableDebug
forgeOptions
get
patch
post
put
returnResponse
returnResponseObject
send
setPostParameters
to
withContentType
withCurlOption
withData
withHeader
withHeaders
withOption
withPackageOption
withTimeout