Hi All,

I am facing the Problem in Setting "Http Get" as the HTTP Method to send the request using the CSenServiceConnection API.


Code:

_LIT(KGetMethod, "<HttpMethod> GET </HttpMethod>");
TBuf<50> getMethod;
getMethod.appendL(KGetMethod);

iConnection->SendL(*stSearch, getMethod);

Here, iConnection is a CSenServiceConnection pointer.

Even though we are setting the get method explicitly.
In the down layer,
CSenLayeredHttpTransportProperties::HttpMethod() call returns KErrUnknown(-1)
Hence setting the http method to POST.

Please tell me what I am missing here ?
Is there any other way to set the HttpMethod from the App side ?

Thanks and Regards,
Sachin Tikare