Yaak Logo
Yaak
Feedback/Copy as Curl with placeholder in URL

Copy as Curl with placeholder in URL

Rob Mills·2 years ago
ReleasedBug

I have a URL which looks like this ${[ baseUrl ]}/accounts/:businessCustomerId - this was imported from my OAS file

If I use the “Copy as Curl” command on this, it gives me this command

curl -X GET 'https://rest.domain.com/accounts/:businessCustomerId' \
  --url-query ':businessCustomerId=754' \
  --header 'Accept: application/json' \
  --user 'user:pass'

The query itself works in Yaak, but the Curl command is invalid.


Comments (5)

Sign in to leave a comment.

Gregory Schier

Oh yes, thanks for the report! I’ll get this fixed

Rob MillsOP

thanks Greg!

Gregory Schier
Gregory Schier
Gregory Schier
Type to search feedback...