FOSSASIA

Smalltalk: Learn how to create a REST API in pharo smalltalk

before attempting this task you should work through Learn Pharo Smalltalk and hello world! learn and describe how to create a simple webpage with zinc on pharo smalltalk

Objective

learn how to create a REST API using the Teapot microframework.

Requirements

load and explore Teapot

modify one of the examples to return a list of names.

if you have completed extend a small user management app in pharo smalltalk you can try to return the list of names from that application.

write a weblog post about your experience and upload the resulting work.

(in pharo "select save as...", then save as "FOSSASIA-yourname" and upload the files FOSSASIA-yourname.image and FOSSASIA-yourname.changes)

Expected Outcome

a weblog post about your experience a smalltalk image file containing the website

your code from this task and your weblog post should be published under the following licenses: CC-BY-SA, GNU FDL, GNU GPL v2 or later.

Task tags

  • pharo
  • smalltalk
  • rest

Students who completed this task

Jason

Task type

  • code Code
close

2015