Add POST requests

This commit is contained in:
Dimitri Lozeve 2023-10-01 17:46:14 +02:00
parent 9bb42177d8
commit 8c88497fdf
3 changed files with 69 additions and 7 deletions

View file

@ -1,7 +1,6 @@
Get⟩←•Import"curl.bqn"
Get,Post⟩←•Import"curl.bqn"
r"Hello: World","Blabla: Blublu"Get"http://httpbin.org/get?key=value"
r"Content-Type: application/json"Post"http://localhost:8080/post""{""key"": ""value""}"
r.code
r.headers
r.content
r.time