We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb586a4 commit f5b692eCopy full SHA for f5b692e
return_latest_post_on_get.ws
@@ -0,0 +1,8 @@
1
+if (var('request.method') == 'POST') {
2
+ store('latest_request', var('request.content'));
3
+} else {
4
+ latest = var('latest_request');
5
+ if (latest) {
6
+ set_response(latest);
7
+ }
8
+}
0 commit comments