RESTED icon indicating copy to clipboard operation
RESTED copied to clipboard

Use same parameter inputs for GET as for POST

Open Roy-Orbison opened this issue 6 years ago • 3 comments

Mentioned in issue #138, It would be a lot cleaner if one could edit URL parameters, un-encoded as key->value parameter pairs, like POSTed ones. I think it would have to be toggle-able/modal so that you don't have a list of parameter inputs and a URL query part at the same time. Only one or the other should be editable to avoid inconsistent state.

Roy-Orbison avatar Apr 01 '19 02:04 Roy-Orbison

Maybe it wouldn't have to toggle/be modal at all; each could just update the other when edited. Binary data in a parameter might have to be kept undecoded, though. Being able to edit a listed parameter as hex, POST or GET, would be a good feature, though.

Roy-Orbison avatar Apr 02 '19 06:04 Roy-Orbison

Hey Roy!

Yeah, I agree. That would for sure be nice. I'm thinking the same UI as the request body would make sense, updating the URL as you type.

As you may have noticed, the project has been dormant for a while, but I'm thinking about getting back into it soon, starting with modernising the codebase.

eliihen avatar Apr 02 '19 06:04 eliihen

starting with modernising the codebase

As long as you fix more bugs than you create 😉

Roy-Orbison avatar Apr 02 '19 07:04 Roy-Orbison