Copy as Curl with placeholder in URL

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.

Please authenticate to join the conversation.

Upvoters
Status

Released

Board

Feedback

Tags

Bug

Date

8 months ago

Author

Rob Mills

Subscribe to post

Get notified by email when there are changes.