You Are Here:

S60 Platform: HTTP Client Example

Register Today

Register with Forum Nokia now and you'll enjoy the full benefits of the Forum Nokia membership.

Register Login
Community Highlights

Wiki article of the week

Zoom and Rotate Gestures in FlashLite for touch-enabled devices

Champion of the month

Jackson Feijó Jackson Feijó
Read more about Jackson on the Champions website.


Forum Nokia Events

MobileMonday Italy: The User Applications
November 23, 2009
Rome

Nokia Developer Days in South Africa
December 01, 2009
Johannesburg, South Africa

Forum Nokia Developer Conference ’09, India
December 07, 2009
Bangalore, India

LeWeb
December 09, 2009
Paris

Web Runtime Coding With Aptana WRT Plug-in
December 09, 2009
9am New York | 2pm London | 4pm Helsinki


View all
description: This updated C++ application demonstrates simple HTTP GET and POST transactions using the HTTP Client API. Basic HTTP authentication is also supported. The updated v2.2 example uses application-level roaming (introduced in S60 3rd Edition, Feature Pack 2 onwards). The updated example has been tested to support S60 5th Edition and touch UI.

Important classes: RHTTPSession, RHTTPTransaction, RHTTPHeaders, MHTTPDataSupplier, MHTTPAuthenticationCallback, MHTTPTransactionCallback.

type: Example
topics: Networking
     HTTP
S60
     S60 5th Edition
S60 3rd Edition, Feature Pack 2
Symbian C++
(Enterprise)
(S60 3rd Edition)
intended audience: Intermediate

http://sw.nokia.com/FN-1/Type/Example S60 Platform: HTTP Client Example v2.2

This updated C++ application demonstrates simple HTTP GET and POST transactions using the HTTP Client API. Basic HTTP authentication is also supported. The updated example uses application-level roaming (introduced in S60 3rd Edition, Feature Pack 2 onwards). The updated example has been tested to support S60 5th Edition and touch UI. Note that this version supports S60 3rd Edition, Feature Pack 2 and S60 5th Edition. Important classes: RHTTPSession, RHTTPTransaction, RHTTPHeaders, MHTTPDataSupplier, MHTTPAuthenticationCallback, MHTTPTransactionCallback.

26-Feb-2009


Download

http://sw.nokia.com/FN-1/Type/Example S60 Platform: HTTP Client API Example v2.1

This C++ application demonstrates simple HTTP GET and POST transactions using HTTP Client API. Basic HTTP authentication is also supported. The updated version provides many improvements to, e.g, error handling, Internet access point filtering, and offline awareness. The application has been tested and qualified as a Symbian Signed application. Note that this version supports S60 3rd Edition and S60 3rd Edition, Feature Pack 1.

16-Apr-2008


Download

see also: Symbian OS: End-to-End HTTP API Example v1.3
S60 Platform: Access Points Example with Roaming Support
Symbian OS: Overview To Networking


Additional information

distribution: Forum Nokia Global Web Site
S60 Web Site
publication rights: Copyright © 2006-2009 Nokia Corporation.

<< Back to Previous Page

 

Rate This:

Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
User Rating: qfnZuserE5FratingQNx2E2E0000X
RDF Facets: qfnZuserE5FtagQSxhttpE20postX
RDF Facets: qdcZdescriptionQSxThisE20updatedE20CE2bE2bE20applicationE20demonstratesE20simpleE20HTTPE20GE45TE20andE20POSTE20transactionsE20usingE20theE20HTTPE20ClientE20APIE2eE20BasicE20HTTPE20authenticationE20isE20alsoE20supportedE2eE20TheE20updatedE20v2E2e2E20eE78ampleE20usesE20applicationE2dlevelE20roamingE20E28introducedE20inE20S60E203rdE20E45ditionE2cE20FeatureE20PackE202E20onwardsE29E2eE20TheE20updatedE20eE78ampleE20hasE20beenE20testedE20toE20supportE20S60E205thE20E45ditionE20andE20touchE20UIE2eE20ImportantE20classesE3aE20E52HTTPSessionE2cE20E52HTTPTransactionE2cE20E52HTTPHeadersE2cE20MHTTPE44ataSupplierE2cE20MHTTPAuthenticationCallbackE2cE20MHTTPTransactionCallbackE2eX qdcZidentifierQSxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f458604daE2de7fcE2d4d4eE2d92eeE2d3ce8a1e68a86E2fS60E5fPlatformE5fHTTPE5fClientE5fAPIE5fE45E78ampleX qdcZrelationQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f07416c2fE2def81E2d4d70E2da085E2de38e758dc308E2fSymbianE5fOSE5fE45ndE2dtoE2dE45ndE5fHTTPE5fAPIE5fE45E78ampleE5fv1E5f3E5fenE2ezipX qdcZrelationQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2fc4536832E2d3dd0E2d45afE2d94beE2d1c4289cc3003E2fSymbianE5fOSE5fOverviewE5fToE5fNetworkingE5fv1E5f0E5fenE2epdfX qdcZrelationQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2fd5c5e942E2d1b68E2d40bfE2d9a85E2d096792e5dfb0E2fS60E5fPlatformE5fAccessE5fPointsE5fE45E78ampleE5fwithE5fE52oamingE5fSupportX qdcZtitleQSxS60E20PlatformE3aE20HTTPE20ClientE20E45E78ampleX qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfnZE45E78cludedFromSearchQ qdcZtypeQUqfnZPrimaryE52esourceQ qdcZtypeQUqfntypeZApplicationQ qdcZtypeQUqfntypeZE45E78ampleQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqmarsZMediaObjectQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qrssZdescriptionQSxThisE20updatedE20CE2bE2bE20applicationE20demonstratesE20simpleE20HTTPE20GE45TE20andE20POSTE20transactionsE20usingE20theE20HTTPE20ClientE20APIE2eE20BasicE20HTTPE20authenticationE20isE20alsoE20supportedE2eE20TheE20updatedE20v2E2e2E20eE78ampleE20usesE20applicationE2dlevelE20roamingE20E28introducedE20inE20S60E203rdE20E45ditionE2cE20FeatureE20PackE202E20onwardsE29E2eE20TheE20updatedE20eE78ampleE20hasE20beenE20testedE20toE20supportE20S60E205thE20E45ditionE20andE20touchE20UIE2eE20ImportantE20classesE3aE20E52HTTPSessionE2cE20E52HTTPTransactionE2cE20E52HTTPHeadersE2cE20MHTTPE44ataSupplierE2cE20MHTTPAuthenticationCallbackE2cE20MHTTPTransactionCallbackE2eX qrssZtitleQSxS60E20PlatformE3aE20HTTPE20ClientE20E45E78ampleX qeditorZdescriptionE5fcreatedQDx2008E2d04E2d14T11E3a23E3a23E5aX qeditorZdescriptionE5fmodifiedQDx2009E2d02E2d26T06E3a42E3a08E5aX qeditorZtypeQUqfntypeZApplicationQ qeditorZtypeQUqfntypeZE45E78ampleQ qeditorZtypeQUqfntypeZE52esourceQ qfnZallowedE5fcountryE5fgroupQUqfnCountryGroupZBQ qfnZaudienceQUqfnAudienceZintermediateQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZaudienceQUqfnAudienceZtechnicalQRqmarsZrelevanceQNx100X qfnZdistributionQUxhttpE3aE2fE2fforumE2enokiaE2ecomE2fX qfnZdistributionQUxhttpE3aE2fE2fwwwE2es60E2ecomE2fX qfnZeE78portE5fcontrolE5fcommodityE5fnumberQSx99X qfnZpublishedQDx2009E2d02E2d26T00E3a00E3a00E5aX qfnZtopicQUqfnTopicZcppQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZenterpriseQRqdcZtypeQUqmarsZManagedE52esourceQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx50X qfnZtopicQUqfnTopicZhttpQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZnetworkingQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZseriesE5f60QRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZseriesE5f60E5f3edQRqdcZtypeQUqmarsZManagedE52esourceQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx50X qfnZtopicQUqfnTopicZseriesE5f60E5f3edE5ffp2QRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZseriesE5f60E5f5edQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtypeQUqfntypeZApplicationQ qfnZtypeQUqfntypeZE45E78ampleQ qfnZtypeQUqfntypeZE52esourceQ qfnZusE5foriginQLqE78sdZbooleanQxtrueX qfnZE78mlE5fdescriptionQXxE0aE3cspanE20E78mlnsE3dE22httpE3aE2fE2fwwwE2ew3E2eorgE2f1999E2fE78htmlE22E3eThisE20updatedE20CE2bE2bE20applicationE20demonstratesE20simpleE20HTTPE20GE45TE20andE20POSTE20transactionsE20usingE20theE20HTTPE20ClientE20APIE2eE20BasicE20HTTPE20authenticationE20isE20alsoE20supportedE2eE20TheE20updatedE20v2E2e2E20eE78ampleE20usesE20applicationE2dlevelE20roamingE20E28introducedE20inE20S60E203rdE20E45ditionE2cE20FeatureE20PackE202E20onwardsE29E2eE20TheE20updatedE20eE78ampleE20hasE20beenE20testedE20toE20supportE20S60E205thE20E45ditionE20andE20touchE20UIE2eE3cbrE3eE3cE2fbrE3eE20E20E3cbrE3eE3cE2fbrE3eE20E20ImportantE20classesE3aE20E52HTTPSessionE2cE20E52HTTPTransactionE2cE20E52HTTPHeadersE2cE20MHTTPE44ataSupplierE2cE20MHTTPAuthenticationCallbackE2cE20MHTTPTransactionCallbackE2eE3cE2fspanE3eE20E20E20E20E20E20X qmarsZdescriptionQSxThisE20updatedE20CE2bE2bE20applicationE20demonstratesE20simpleE20HTTPE20GE45TE20andE20POSTE20transactionsE20usingE20theE20HTTPE20ClientE20APIE2eE20BasicE20HTTPE20authenticationE20isE20alsoE20supportedE2eE20TheE20updatedE20v2E2e2E20eE78ampleE20usesE20applicationE2dlevelE20roamingE20E28introducedE20inE20S60E203rdE20E45ditionE2cE20FeatureE20PackE202E20onwardsE29E2eE20TheE20updatedE20eE78ampleE20hasE20beenE20testedE20toE20supportE20S60E205thE20E45ditionE20andE20touchE20UIE2eE20ImportantE20classesE3aE20E52HTTPSessionE2cE20E52HTTPTransactionE2cE20E52HTTPHeadersE2cE20MHTTPE44ataSupplierE2cE20MHTTPAuthenticationCallbackE2cE20MHTTPTransactionCallbackE2eX qmarsZhasInstanceQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f5ab5b21cE2d12faE2d48dcE2d97c4E2df9b6cce0a6baE2fS60E5fPlatformE5fHTTPE5fClientE5fE45E78ampleE5fv2E5f2E5fenE2ezipX qmarsZhasInstanceQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f6ae1a078E2d1545E2d4c2cE2db98fE2d68366474aa6dE2fS60E5fPlatformE5fHTTPE5fClientE5fAPIE5fE45E78ampleE5fv2E5f1E5fenE2ezipX qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qmarsZtitleQSxS60E20PlatformE3aE20HTTPE20ClientE20E45E78ampleX qncZrightsQSxCopyrightE20Ea9E202006E2d2009E20NokiaE20CorporationE2eX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfnZE45E78cludedFromSearchQ qrdfZtypeQUqfnZPrimaryE52esourceQ qrdfZtypeQUqfntypeZApplicationQ qrdfZtypeQUqfntypeZE45E78ampleQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqmarsZMediaObjectQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ qrdfsZseeAlsoQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f07416c2fE2def81E2d4d70E2da085E2de38e758dc308E2fSymbianE5fOSE5fE45ndE2dtoE2dE45ndE5fHTTPE5fAPIE5fE45E78ampleE5fv1E5f3E5fenE2ezipX qrdfsZseeAlsoQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2fc4536832E2d3dd0E2d45afE2d94beE2d1c4289cc3003E2fSymbianE5fOSE5fOverviewE5fToE5fNetworkingE5fv1E5f0E5fenE2epdfX qrdfsZseeAlsoQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2fd5c5e942E2d1b68E2d40bfE2d9a85E2d096792e5dfb0E2fS60E5fPlatformE5fAccessE5fPointsE5fE45E78ampleE5fwithE5fE52oamingE5fSupportX