Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • delight delight
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • delight
  • delightdelight
  • Wiki
  • Home

Home · Changes

Page history
fixed links authored May 24, 2019 by Andreas Lauer's avatar Andreas Lauer
Hide whitespace changes
Inline Side-by-side
Home.md
View page @ 9d73b819
......@@ -63,30 +63,31 @@ Delight will take care of object serialization out-of-the-box
### Pure HTTP Requests
Methods can be accessed through this pattern
You don't have to use the Java client. Any web-client can call server methods.
Methods can be accessed through this pattern:
WEB-CONTEXT/{handlerName}/{methodName}?parameter1=value1&parameterN=valueN...
Parameters are passed as JSON objects or literals: In our example a call would look like this:
GET http://localhost:8080/my-service/handler-x/doSometing?parameter=great
GET http://localhost:8080/my-service/handler-x/method-y?parameter=great
The following capabilities exist:
* __Primitive types__ (numbers, strings and boolean) will be transported as-is (simple strings)
GET http://localhost:8080/my-service/handler-x?simple=a%20string
GET http://localhost:8080/my-service/handler-x?simple=a%20string%20with%20saces
GET http://localhost:8080/my-service/handler-x/method-y?simple=a%20string
GET http://localhost:8080/my-service/handler-x/method-y?simple=a%20string%20with%20saces
* __Complex types__ will be converted into JSON representation
GET http://localhost:8080/my-service/handler-x?complexPar={"number":23,"string":"hello"}
GET http://localhost:8080/my-service/handler-x/method-y?complexPar={"number":23,"string":"hello"}
* __Arrays of primitive and complex types__ are permitted
* __null String values__ are represented with the zero byte (ASCII 0 / NUL). Specify it with URL encoding: '?parameterNull=%00'
GET http://localhost:8080/my-service/handler-x?parameterNull=%00
GET http://localhost:8080/my-service/handler-x/method-y?parameterNull=%00
* __POST or GET__ is possible to make the call
......
Clone repository
  • DocuFeature
  • ExampleServer
  • ExampleWebApp
  • Home
  • ServerSentEventsFeature
  • StatsFeature
  • people
  • xmlrpc
    • Documentation
    • ExampleUsingConverterRegistry
    • ExampleUsingOwnConceteTypes
    • ExampleUsingOwnInterfaceTypes
    • ExampleUsingThirdPartyTypes
    • ExampleUsingXmlRpcBeans
    • ExampleUsingXmlRpcCompliantTypes

Legal Notice, Imprint, Privacy Policy