Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

CURL.SetOptionReferer

Component: CURL
Version: 2.5
Mac OS X: Works
Windows: Works

MBS( "CURL.SetOptionReferer"; handle; value )

Parameters

Parameter Description Example value
Handle The CURL session handle. $curl
Value The new referrer string. "https://www.mbsplugins.de/"

Result

Returns "OK" on success.

Description

Sets the referrer.
This string will be used to set the Referer: header in the http request sent to the remote server. This can be used to fool servers or scripts. You can also set any custom header with CURL.SetOptionHTTPHeader.

Feedback: Report problem or ask question.




Links
MBS REALbasic Plugins - Christians Software aus Nickenich