CURL.SetOptionNoProxy
---------------------

Sets which hosts don't use a proxy.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [CURL](component_CURL.md) | [2.5](newinversion25.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "CURL.SetOptionNoProxy"; curl; Value { ; Encoding } ) 

**MBS**( **"CURL.SetOptionNoProxy";** /\* Sets which hosts don't use a proxy. \*/  
**$curl**; /\* The CURL session handle. \*/   
**$Value**; /\* The list of hosts which use no proxy.e.g. "local.com,mbsplugins.de" \*/   
**$Encoding**) /\* Optional; The text encoding for text parameter.   
Default is UTF-8.e.g. "UTF8" \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| curl | The CURL session handle. | $curl |  |
| Value | The list of hosts which use no proxy. | "local.com,mbsplugins.de" |  |
| Encoding | The text encoding for text parameter.    Default is UTF-8.   Possible encoding names: ANSI, ISO-8859-1, Latin1, Mac, Native, UTF-8, DOS, Hex, Base64 or Windows. More listed in the [FAQ](https://www.monkeybreadsoftware.com/filemaker/faq.shtml). | "UTF8" | Optional |

### Result

Returns "OK" on success.

### Description

Sets which hosts don't use a proxy.  
This text should be a comma separated list of hosts which do not use a proxy, if one is specified.   
The only wildcard is a single \* character, which matches all hosts, and effectively disables the proxy. Each name in this list is matched as either a domain which contains the hostname, or the hostname itself. For example, local.com would match local.com, local.com:80, and www.local.com, but not www.notlocal.com.  
See also [NOPROXY](https://curl.haxx.se/libcurl/c/CURLOPT_NOPROXY.html) option in CURL manual.

### See also

- [CURL.SetOptionFTPPort](CURLSetOptionFTPPort.md)
- [CURL.SetOptionNoBody](CURLSetOptionNoBody.md)
- [CURL.SetOptionPort](CURLSetOptionPort.md)
- [CURL.SetOptionPost](CURLSetOptionPost.md)
- [CURL.SetOptionPreProxy](CURLSetOptionPreProxy.md)
- [CURL.SetOptionProxy](CURLSetOptionProxy.md)
- [CURL.SetOptionProxyAuth](CURLSetOptionProxyAuth.md)
- [CURL.SetOptionProxyPort](CURLSetOptionProxyPort.md)
- [CURL.SetOptionProxyType](CURLSetOptionProxyType.md)
- [CURL.SetOptionVerbose](CURLSetOptionVerbose.md)

### Blog Entries

- [Translating Insert from URL options for CURL to MBS Plugin calls](https://www.mbsplugins.de/archive/2020-12-14/Translating_Insert_from_URL_op/monkeybreadsoftware_blog_filemaker)

Created 18th August 2014 , last changed 25th January 2024

  
[CURL.SetOptionNoBody](CURLSetOptionNoBody.md) - [CURL.SetOptionPassword](CURLSetOptionPassword.md)

[HTML Version](CURLSetOptionNoProxy.shtml)