summaryrefslogtreecommitdiffstats
path: root/src/request.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/request.cpp')
-rw-r--r--src/request.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/request.cpp b/src/request.cpp
index e2ad4be..cf2eb39 100644
--- a/src/request.cpp
+++ b/src/request.cpp
@@ -30,4 +30,11 @@ answer_type Request::get(API::endpoint_type endpoint) const
return answer;
}
+answer_type Request::get(string endpoint) const
+{
+ answer_type answer;
+ answer.body = endpoint;
+ return answer;
+}
+
} // namespace mastodonpp