Restheadspec now takes parameters from query parameters and headers. Allows for backward compatibility with our old dojo clients

This commit is contained in:
Hein
2025-11-21 08:56:58 +02:00
parent 59bd709460
commit c2e0c36c79
5 changed files with 441 additions and 4 deletions

View File

@@ -116,6 +116,7 @@ type Request interface {
Body() ([]byte, error)
PathParam(key string) string
QueryParam(key string) string
AllQueryParams() map[string]string // Get all query parameters as a map
}
// ResponseWriter interface abstracts HTTP response