You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've searched existing issues and found nothing related to my issue.
Describe the bug
In v1.19.0, using the new path params feature introduced in #484, I'm getting an issue where Bruno is adding the req.params object as query parameter, e.g.:
URL (in UI): {{baseURL}}/some/route/:pk/
Path param: pk with value test
If I look in Timeline or console.log(req) in post response, the URL I see is:
http://127.0.0.1:8000/v1/app/some/route/test
Which should be correct, however, my API endpoint is being called with:
I have checked the following:
Describe the bug
In
v1.19.0
, using the new path params feature introduced in #484, I'm getting an issue where Bruno is adding thereq.params
object as query parameter, e.g.:URL (in UI):
{{baseURL}}/some/route/:pk/
Path param:
pk
with valuetest
If I look in Timeline or
console.log(req)
in post response, the URL I see is:http://127.0.0.1:8000/v1/app/some/route/test
Which should be correct, however, my API endpoint is being called with:
/v1/app/some/route/test/?0[name]=pk&0[value]=test&0[enabled]=true&0[type]=path&0[uid]=1gTYMy1cJaQsEkW93yRGP
It seems somewhere during the URL interpolation, the URL search params are updated with the data in
req.params
as shown above.Additionally, the trailing slash is also not kept any more.
Possibly related to #2506?
.bru file to reproduce the bug
Screenshots/Live demo link
The text was updated successfully, but these errors were encountered: