Replies: 3 comments
-
|
Hi, Thanks for your question. I tested this in the latest version, and insomnia supports multiple path parameter names, not just :id. You can use :name, :userId, etc., in your URLs, similar to how Spring uses {id}, {name}, etc. Please note that each path parameter can hold only one value per URL segment. If you need to provide multiple values, consider using query parameters or making multiple requests. |
Beta Was this translation helpful? Give feedback.
-
|
Perhaps I didn't describe it clearly. In Spring, we use Would it be possible to add configurations to support different placeholder symbols? |
Beta Was this translation helpful? Give feedback.
-
|
Hi, thanks for clarifying! Currently, Insomnia only supports the : syntax for path parameters. I’ll raise an internal ticket to explore adding support for different placeholder symbols in the future. For now, paths copied from Spring will need to be updated manually. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In Java or Kotlin development tech stack,
Springuses{id}as a placeholder for the path parameter, and currently only:idis available. Can we provide multiple options?Beta Was this translation helpful? Give feedback.
All reactions