"Hello and welcome to http://ws.stfx.eu, a web service to share Smalltalk workspaces"
"In a Pharo 7 Playground you can use the 'Remote publish' button (top right)
to create a new shared workspace whose public URL will be put on the clipboard."
"Given a previously created URL, open a Pharo 7 Spotter and paste the URL"
"Alternatively, you can do the same programmatically"
GTPlayground openUrl: 'http://ws.stfx.eu/1WS4U'.
"You can use an elementary HTTP client to access & create shared workspaces"
ZnClient new
get: 'http://ws.stfx.eu/1WS4U'.
ZnClient new
systemPolicy;
beOneShot;
url: 'http://ws.stfx.eu';
contents: ('''I was created \{1\} ago'' format: \{ (DateAndTime now - (DateAndTime fromString: ''{1}'')) humanReadablePrintString \}.' format: { DateAndTime now });
post.
"Don't forget to inspect this last expression to see the new key.
Both the response's content as well as the response's location header contain the key"
"It is also possible to create new workspace via a web interface, try http://ws.stfx.eu/new "
THIS SOFTWARE SERVICE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHOR OR SERVICE PROVIDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE SERVICE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE SERVICE.