Add POST requests
This commit is contained in:
parent
9bb42177d8
commit
8c88497fdf
3 changed files with 69 additions and 7 deletions
5
test.bqn
5
test.bqn
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue