|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IW > IWebRequestHandler2 Interface > IWebRequestHandler2.HandleStringWebRequest2 Method (ArcObjects .NET 10.5 SDK) | 
Handles a request with http response code.
[Visual Basic .NET] Public Function HandleStringWebRequest2 ( _ ByVal httpMethod As esriHttpMethod, _ ByVal requestURL As String, _ ByVal queryString As String, _ ByVal Capabilities As String, _ ByVal requestData As String, _ ByRef responseContentType As String, _ ByRef respDataType As esriWebResponseDataType, _ ByRef pHttpResponseParameters As String _ ) As Byte[]
[C#] public Byte[] HandleStringWebRequest2 ( esriHttpMethod httpMethod, string requestURL, string queryString, string Capabilities, string requestData, ref string responseContentType, ref esriWebResponseDataType respDataType, ref string pHttpResponseParameters );
[C++]
HRESULT HandleStringWebRequest2(
  esriHttpMethod httpMethod,
  BSTR requestURL,
  BSTR queryString,
  BSTR Capabilities,
  BSTR requestData,
  BSTR* responseContentType,
  esriWebResponseDataType* respDataType,
  BSTR* pHttpResponseParameters,
  responseData* responseData
);
[C++]
Parameters httpMethod [in]
httpMethod is a parameter of type esriHttpMethod requestURL [in] requestURL is a parameter of type BSTR queryString [in] queryString is a parameter of type BSTR Capabilities [in] Capabilities is a parameter of type BSTR requestData [in] requestData is a parameter of type BSTR responseContentType [out] responseContentType is a parameter of type BSTR respDataType [out]
respDataType is a parameter of type esriWebResponseDataType pHttpResponseParameters [out] pHttpResponseParameters is a parameter of type BSTR responseData [out, retval] responseData is a parameter of type