Example API

Example of API

JSON Documentation

Method: greeting

https://json.smappi.org/adw0rd/example/greeting?name=<string>

Example of greeting

greeting("adw0rd")
  // => "Hello, adw0rd!"

Live Example

Request:
https://json.smappi.org/adw0rd/example/greeting?name=example
Response:
Internal Server Error

Method: calculator

https://json.smappi.org/adw0rd/example/calculator?digits=<resttype>

Example of calculator

calculator(42, 42, 42)
  // => 126

Live Example

Request:
https://json.smappi.org/adw0rd/example/calculator?digits=[1, 2, 3]
Response:
Internal Server Error

XML Documentation

Method: greeting

https://xml.smappi.org/adw0rd/example/greeting?name=<string>

Example of greeting

greeting("adw0rd")
  // => "Hello, adw0rd!"

Live Example

Request:
https://xml.smappi.org/adw0rd/example/greeting?name=example
Response:
Internal Server Error

Method: calculator

https://xml.smappi.org/adw0rd/example/calculator?digits=<resttype>

Example of calculator

calculator(42, 42, 42)
  // => 126

Live Example

Request:
https://xml.smappi.org/adw0rd/example/calculator?digits=[1, 2, 3]
Response:
Internal Server Error

SOAP Documentation (coming soon)

WSDL-Scheme here...

Method: greeting

https://soap.smappi.org/adw0rd/example/greeting?name=<string>

Example of greeting

greeting("adw0rd")
  // => "Hello, adw0rd!"

Live Example

Request:
https://soap.smappi.org/adw0rd/example/greeting?name=example
Response:
Internal Server Error

Method: calculator

https://soap.smappi.org/adw0rd/example/calculator?digits=<resttype>

Example of calculator

calculator(42, 42, 42)
  // => 126

Live Example

Request:
https://soap.smappi.org/adw0rd/example/calculator?digits=[1, 2, 3]
Response:
Internal Server Error
[A]
author

Versions

  • master