Hey I'm a noob too. And I don't expect to understand everything in a day. The Beginners Guide really IS the user manual - you need to spend time with that.
Anyway, hopefully these snippets show how to get working with a RESTful webservice.. I just figured this out yesterday, so may have a detail wrong - but you get the idea:
Code:
Sub Globals
' webservice url is global
Dim url As String
url = ...
End Sub
Sub Activity_Create(FirstTime As Boolean)
' need to use HttpUtils module - download that
HttpUtils.CallbackActivity = "Main"
HttpUtils.CallbackJobDoneSub = "JobDone"
HttpUtils.Download("Index", url)
End Sub
Sub JobDone(Job As String)
' Completion function for when the download completes:
If HttpUtils.IsSuccess(url) == False Then Return
' JSON parsing
Dim parser As JSONParser
parser.Initialize(HttpUtils.GetString(url))
' Choose one:
' If what's returned is a list of items:
Dim items As List
items = parser.NextArray
' OR if what's returned is an object:
Dim item as Map
item = parser.NextObject
' from this point forward use the item.Get() functions to access elements or fields
End Sub