CURL.GetHTTPConnectCode
-----------------------

Get the last received proxy response code to a CONNECT request.

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

MBS( "CURL.GetHTTPConnectCode"; curl ) 

**MBS**( **"CURL.GetHTTPConnectCode";** /\* Get the last received proxy response code to a CONNECT request. \*/  
**$curl**) /\* The CURL session handle. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| curl | The CURL session handle. | $curl |

### Result

Returns the requested value or nothing on error.

### Description

Get the last received proxy response code to a CONNECT request.  
### See also

- [CURL.GetResponseCode](CURLGetResponseCode.md)

### Example Databases

- [CURL/CURL Download Picture](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/CURL/CURL%20Download%20Picture.shtml#1ScriptAnchor_)

This function checks for a license.

Created 18th August 2014 , last changed 18th August 2014

  
[CURL.GetHTTPAuthAvail](CURLGetHTTPAuthAvail.md) - [CURL.GetHTTPVersion](CURLGetHTTPVersion.md)

[HTML Version](CURLGetHTTPConnectCode.shtml)