Initial impl
This commit is contained in:
commit
4b729c5d32
133 files changed
+20475
No files matched your search
+20
@@ -0,0 +1,20 @@
|
||||
@baseUrl = https://example.com/api
|
||||
|
||||
# @name login
|
||||
POST {{baseUrl}}/api/login HTTP/1.1
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
|
||||
name=foo&password=bar
|
||||
|
||||
###
|
||||
|
||||
@authToken = {{login.response.headers.X-AuthToken}}
|
||||
|
||||
# @name createComment
|
||||
POST {{baseUrl}}/comments HTTP/1.1
|
||||
Authorization: {{authToken}}
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"content": "fake content"
|
||||
}
|
||||
Reference in new issue
Block a user