dominikriemer commented on issue #1458: URL: https://github.com/apache/streampipes/issues/1458#issuecomment-1488449783
@purplesmurf45 The goal would be to let users provided custom HTTP headers (see a brief discussion at #1450 ). Headers are typically key/value pairs. So we could add an optional configuration option to assign a list of these key/value pairs which would then be used for reading/writing from/to the HTTP endpoint. One example would be Authentication headers (such as Bearer Tokens), provision of content types or any other HTTP header. E.g., in a future extension, we could add a feature to the REST controller to send events in different formats such as JSON or YAML. The Apache HTTP fluent library which is used in the `RestPublisher` provides several convenience methods to add headers to a request. These would be read from the user-provided configuration. E.g., we could have a `CollectionStaticProperty` with a group of key/value pairs. Hope this helps! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@streampipes.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org