From 8a297e0c171067188c595e9be58c528e875d34ea Mon Sep 17 00:00:00 2001 From: Valmo Trindade Date: Sun, 15 Sep 2024 19:13:03 -0300 Subject: [PATCH] [wip] requests library --- src/util.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/util.rs b/src/util.rs index aeb2c07..d0cb5f2 100644 --- a/src/util.rs +++ b/src/util.rs @@ -4,7 +4,13 @@ pub fn get_uuid() -> String { Uuid::new_v4().to_string() } -mod request { +mod sync_request { + pub fn get(address: String, token: String) -> String { + let par = address + &token; + + return par; + } + pub fn post(data: String) -> &'static str { return "not implemented yet"; }