openrvdas icon indicating copy to clipboard operation
openrvdas copied to clipboard

http Reader

Open webbpinner opened this issue 2 years ago • 0 comments

Similar to the polledSerialReader but issues periodic http get/post requests to a remote server to retrieved data. Will need options to define the URL, request type (default: get, optionally: post), a optionally and array of headers (i.e. for JWT bearer authentication), an optionally an array of acceptable success response code (default: 200), a timeout period and query period.

  • An unexpected response code should trigger an error/error message and the response contents should NOT be processed.
  • If a timeout is specified then the period must be >=timeout.

webbpinner avatar Sep 29 '22 13:09 webbpinner