Refactor GET and POST requests

This commit is contained in:
Dimitri Lozeve 2023-10-01 18:14:54 +02:00
parent 4ff2099e99
commit 5b22260f28
2 changed files with 27 additions and 56 deletions

View file

@ -1,5 +1,10 @@
Get,Post•Import"curl.bqn"
rGet"http://localhost:8080/get"
r.code
r.headers
r.content
r"Content-Type: application/json"Post"http://localhost:8080/post""{""key"": ""value""}"
r.code
r.headers