mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-15 20:01:28 +00:00
* Fix: Revert selective JSON parsing where string response is not parsed - Revert "Merge pull request #3706 from Pragadesh-45/fix/response-format-updates" -e897dc1eb0- Revert "Merge pull request #3676 from pooja-bruno/fix/string-json-response" -1f2bee1f90* Fix: Revert interpreting Assert RHS-value wrapped in quotes literally - Revert "Merge pull request #3806 from Pragadesh-45/fix/handle-assert-results" -63d3cb380d- Revert "Merge pull request #3805 from Pragadesh-45/fix/handle-assert-results" -6abd063749* Fix: Inconsistent JSON formatting in preview when encoded value is a string * Fix: Prettify JSON for Res-preview without parsing to avoid JS specific roundings * Fix(testbench): req.body is always Buffer after the binary req body related changes * Added `/api/echo/custom` where response can be configured using request itself * Added tests for validating Assert and Response-preview Co-authored-by: Pragadesh-45 <temporaryg7904@gmail.com> * Handle char-encoding in Response-preview and added more tests * Updated API endpoint in tests to use httpfaker api * QuickJS (Safe Mode) exec logic to handle template literals similar to Developer Mode * Safe Mode bru.runRequest to return statusText similar to Developer Mode --------- Co-authored-by: ramki-bruno <ramki@usebruno.com> Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
vars {
|
|
host: http://localhost:8080
|
|
httpfaker: https://www.httpfaker.org
|
|
bearer_auth_token: your_secret_token
|
|
basic_auth_password: della
|
|
env.var1: envVar1
|
|
env-var2: envVar2
|
|
bark: {{process.env.PROC_ENV_VAR}}
|
|
foo: bar
|
|
testSetEnvVar: bruno-29653
|
|
echo-host: https://echo.usebruno.com
|
|
client_id: client_id_1
|
|
client_secret: client_secret_1
|
|
auth_url: http://localhost:8080/api/auth/oauth2/authorization_code/authorize
|
|
callback_url: http://localhost:8080/api/auth/oauth2/authorization_code/callback
|
|
access_token_url: http://localhost:8080/api/auth/oauth2/authorization_code/token
|
|
passwordCredentials_username: foo
|
|
passwordCredentials_password: bar
|
|
github_authorize_url: https://github.com/login/oauth/authorize
|
|
github_access_token_url: https://github.com/login/oauth/access_token
|
|
google_auth_url: https://accounts.google.com/o/oauth2/auth
|
|
google_access_token_url: https://accounts.google.com/o/oauth2/token
|
|
google_scope: https://www.googleapis.com/auth/userinfo.email
|
|
}
|
|
vars:secret [
|
|
github_client_secret,
|
|
github_client_id,
|
|
google_client_id,
|
|
google_client_secret,
|
|
github_authorization_code,
|
|
passwordCredentials_access_token,
|
|
client_credentials_access_token,
|
|
authorization_code_access_token,
|
|
github_access_token
|
|
]
|