Martin Hoecker

Results 25 comments of Martin Hoecker

I love this idea! Have you thought of a corresponding implementation for the cli?

When you use `json` as body-type, then your request should not work -- since newline-delimited-json is not json. But using "text" as body-type absolutely should work. I encountered the same...

Aha! It seems this behavior only happens if you manually set the `Content-Type: application/json` header! Arguably, bruno should just send the body as-is, allowing you to send malformed json, but...

Unfortunately, this behavior is (mostly) caused by the underlying axios library: https://github.com/axios/axios/blob/d844227411263fab39d447442879112f8b0c8de5/lib/defaults/index.js#L42 I tend to agree with @Rmaan : Bruno is a testing tool and should send the body _exactly_...

@Harti : I agree with you. In this case, and in other cases (json-bodies!) Bruno should send requests _exactly_ as I defined them. I need Bruno as a test tool,...

+1 for replacing axios. However, I am against a toggle -- it makes no sense to maintain two backends, and also hinders support when for each issue we have to...

Tested successfully with `npm ci` and with `npm i --legacy-peer-deps `.

Interesting idea! But I worry about potential name-conflicts with user-defined variables. How about attaching this info to the `bru` object? Something like ``` bru.context.executionMode bru.context.currentItem ``` In Postman, there was...

Yes, I agree that we should not put it on the request object, and that we should not break existing scripts. I think attaching new properties to the `bru` object...