This transport handler can be used to send Odysseus POST or PUT messages (e.g. via REST)

You will need to install the "Web Feature" to use this handler.

Parameter:


  • Path: The path the server should listen to. When not given, path is "/"
  • Port: The port for the http server. When not given: 8080
  • Hostname: The name of the server
  • immediate_response: A string with the response message to the client (use "false" for no reply)

Example

#PARSER PQL
#RUNQUERY
in = RECEIVE({
          transport = 'HttpServer',
          source = 'source',
          protocol = 'csv',
          datahandler = 'Tuple',
          schema = [['input','String']],
          options= [['immediate_response','ok']]        
        }
      )

Here a client sends a simple csv message with just a single entry. Odysseus does not care about the method (e.g. POST or PUT)




Labels (0)

  • No labels

Comments  (0)

Attachments  (0)

Add Attachment
No files shared here yet.