winglang / wing

A programming language for the cloud ☁️ A unified programming model, combining infrastructure and runtime code into one language ⚡
https://winglang.io
Other
5.06k stars 198 forks source link

Allow users to define URL params in Wing console #7127

Open boyney123 opened 2 months ago

boyney123 commented 2 months ago

Use Case

I'm trying to use the API cloud resource in the Wing console. My url looks like this /spaces/{spaceId}, I have to click into this field manually and delete {spaceId} and enter my id I want to search for in this example.

Sometimes it's buggy and does not let me do this and defaults selects a dropdown value (but thats another issue).

The UX feels like it's in the way, it would be nice just to add the param in a text field below where we have: Headers, PArams and Body,

image

Proposed Solution

Add a new tab called (not sure what to call it) that lets users define the values for the url parts.

Put it next to the Headers, Params and Body parts. image

Implementation Notes

No response

Component

No response

Community Notes