From f0b0139b7954b716d7929591ca449d5b05925bb8 Mon Sep 17 00:00:00 2001 From: Saeed Afzal Date: Mon, 1 Dec 2025 23:33:26 +0000 Subject: [PATCH] Request data. --- LICENSE | 2 +- tui/rest/request.go | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 tui/rest/request.go diff --git a/LICENSE b/LICENSE index 3e4afec..690fffc 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2025 saeedafzal +Copyright (c) 2025 Saeed Afzal Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including diff --git a/tui/rest/request.go b/tui/rest/request.go new file mode 100644 index 0000000..9999417 --- /dev/null +++ b/tui/rest/request.go @@ -0,0 +1,11 @@ +package rest + +import "net/http" + +type Request struct{ + method string + url string + headers http.Header +} + +func (r Request) queryParams() {}