about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorelioat <elioat@tilde.institute>2022-12-04 15:10:04 -0500
committerelioat <elioat@tilde.institute>2022-12-04 15:10:04 -0500
commit8f83e6377a7a5e4209f8996c1c9e6870f8ec66b5 (patch)
tree15087404c735a871cca88e9b4df64f08e4b03f4a
parent742cf2632a0319a71fdd10bc0afd634da2e69aa6 (diff)
downloaddecember-2022-8f83e6377a7a5e4209f8996c1c9e6870f8ec66b5.tar.gz
exploring gerbil scheme a bit
-rw-r--r--rnd/play.ss8
1 files changed, 8 insertions, 0 deletions
diff --git a/rnd/play.ss b/rnd/play.ss
new file mode 100644
index 0000000..7a7c3ca
--- /dev/null
+++ b/rnd/play.ss
@@ -0,0 +1,8 @@
+(import :std/net/request)
+
+(def req (http-get "pokeapi.co/api/v2/pokemon/ditto"))
+
+(request-status req)
+
+(display
+ (hash->list (request-json req)))