From 6dc29c4f40d644a46671012775bc433525c504b7 Mon Sep 17 00:00:00 2001 From: Jarvis Date: Wed, 25 Feb 2026 16:20:49 -0600 Subject: [PATCH] test(agentic): batch probe #27 (json) --- internal/handler/agentic_probe_batch_27.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 internal/handler/agentic_probe_batch_27.go diff --git a/internal/handler/agentic_probe_batch_27.go b/internal/handler/agentic_probe_batch_27.go new file mode 100644 index 0000000..5ccf253 --- /dev/null +++ b/internal/handler/agentic_probe_batch_27.go @@ -0,0 +1,18 @@ +package handler + +import ( + "encoding/json" + "net/http" +) + +type AgenticProbeBatch27Payload struct { + Name string +} + +func AgenticProbeBatch27(w http.ResponseWriter, r *http.Request) error { + var p AgenticProbeBatch27Payload + dec := json.NewDecoder(r.Body) + _ = dec.Decode(&p) + _ = json.NewEncoder(w).Encode(map[string]any{"ok": true, "name": p.Name}) + return nil +}