bruno icon indicating copy to clipboard operation
bruno copied to clipboard

Support Custom HTTP Methods

Open martindale opened this issue 11 months ago • 3 comments

I'd like to use the SEARCH HTTP method, but it doesn't seem available. Many others are missing, so the best thing to do is allow a custom method.

martindale avatar Mar 10 '24 09:03 martindale

This could possibly solve the import issue I have with this Postman collection. Example is in the Recurring folder. Screenshot 2024-03-13 at 12 01 00 PM

I have tried to import this collection with Insomnia and Bruno. For Insomnia, the import will success, ignoring the examples below the request. Screenshot 2024-03-13 at 12 04 37 PM

But for Bruno, the import will fail. Screenshot 2024-03-13 at 12 05 38 PM

It will be a good start if the import is succesful, and we can tweak the collection from there.

jiaming10 avatar Mar 13 '24 04:03 jiaming10

As a workaround: You can set custom request methods inside the pre-request-script:

req.setMethod("SEARCH")

Its-treason avatar Mar 29 '24 13:03 Its-treason

Any way will be amazing to have custom method configure, because for example I have to have methods APPROVE/DISAPPROVE/EDIT/REMOVE/LIKE/UNLIKE. They are all custom. Now if I'm importing them from cURL, I have POST method substituted. Also if method written manually in the *.bru file, that line just not visible in collection.

b0s-at-works avatar May 18 '24 04:05 b0s-at-works