Implemented hex encoding for data transformation.

This commit is contained in:
Jakob Friedl
2025-11-08 16:16:15 +01:00
parent b02cc5a331
commit df8453bf1a
5 changed files with 15 additions and 7 deletions

View File

@@ -25,7 +25,7 @@ endpoints = [
]
# Defines where the heartbeat is placed within the HTTP GET request
# Allows for data transformation using encoding (base64, ...), appending and prepending of strings
# Allows for data transformation using encoding (base64, hex, ...), appending and prepending of strings
# Metadata can be stored in a Header (e.g. JWT Token, Session Cookie), URI parameter, appended to the URI or request body
# Encoding is only applied to the payload and not the prepended or appended strings
[http-get.agent.heartbeat]
@@ -119,7 +119,7 @@ lang = [
# Placing this type of data in the body is highly recommended
[http-post.agent.output]
placement = { type = "body" }
encoding = { type = "none" }
encoding = { type = "hex" }
# prefix = ""
# suffix = ""