Hi, I'm trying to use the example of HTTPClientExample which is posted on the forum nokia already. In the example, the body of the POST request is build like this:
MHTTPDataSupplier* dataSupplier = this;
where my class is derived from MHTTPDataSupplier. But, in my case, I have to use the application/x-www-form-urlencoded content type and they(the documentation) say that I have to use the CHTTPFormEncoder instead of MHTTPDataSupplier to be able to encode the body. If I use the MHTTPDataSupplier, the return of the post is 'Bad Authentication'. And my code look like this:
data = CHTTPFormEncoder::NewL();
Which still givin' me the 'Bad Authetication' error. I think I might missing something..
Can any1 help?