Smalltalk/X WebserverDocumentation of class 'HTTPSimpleJSONRestClient': |
|
|
Class: HTTPSimpleJSONRestClientInheritance:Object | +--HTTPSimpleJSONRestClient
Description:Abstract superclass for JSON based Rest service clients. This passes arguments as JSON post-data. Callable methods can be automatically detected via the protocolInfo rest call, if the partner is an ST/X based rest service. See concrete subclasses on how the call interface works. [start Server with:] HTTPServer startServerOnPort:9876 [start a Demo Service with:] (HTTPSimpleJSONRestDemoService new) linkName:'/rest'; registerServiceOn:(HTTPServer serverOnPort:9876) [request:] |client| client := self newForURL:'localHost:9876/rest'. (client call:'protocolInfo') inspect. (client call:'string') inspect. [instance variables:] [class variables:] Related information:Class protocol:instance creationInstance protocol:accessing calling
|
|
ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Wed, 24 Apr 2024 11:03:23 GMT
|