mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-02 00:54:09 +00:00
feat: add test case for redirects with cookie authentication
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
meta {
|
||||
name: Test Redirects With Cookies
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{httpfaker}}/api/auth/cookie-redirect/login
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
headers {
|
||||
Content-Type: application/json
|
||||
}
|
||||
|
||||
body:json {
|
||||
username: test-user
|
||||
}
|
||||
|
||||
assert {
|
||||
res.status: 200
|
||||
}
|
||||
Reference in New Issue
Block a user