links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Last updated at 10:27 am UTC on 14 July 2018
WebClient provides a simple yet complete HTTP client implementation.

To view the documentation evaluate:

	HelpBrowser openOn: WebClientHelp.

The simplest form to use WebClient is by one of its convenience APIs:

	WebClient httpGet: 'http://www.squeak.org/'.
	WebClient httpPost: 'http://www.squeak.org/' content:'Hello Squeak' type: 'text/plain'.


The answer object is a WebResponse instance. WebClient uses the WebUtils class.

WebClient is included in the base image since April 2015 and thus with Squeak 4.6.
The WebClient core package includes as well a simple WebServer.


WebServer and WebClient hello world demo
Retrieve a Json object

See also

WebClient/ZnClient wrapper