alexandrehtrb / Pororoca

An API testing tool with support for HTTP/2 and HTTP/3. Alternative to Postman.
https://pororoca.io
Other
500 stars 38 forks source link

Paste headers as text into headers table #68

Closed Theraqa closed 4 months ago

Theraqa commented 10 months ago

It would be super useful if we could just drop/paste headers in headers box in this format for example:

Pragma: no-cache
Accept: */*
Host: somehost.com
Connection: Keep-Alive
User-Agent: okhttp/3.12.1
alexandrehtrb commented 10 months ago

Hello @Theraqa ,

If you mean copy-paste headers from text into the headers table, I will take a look to see if it's possible.

If you mean keybindings (Ctrl+C Ctrl+V), this is disabled due to a bug in the table component. But, you can copy and paste headers by using mouse right-click, including copying from the response headers to the request headers.

Theraqa commented 10 months ago

Yes if we could paste headers in request headers table that would be awesome and save lot of time, instead of adding them one by one

alexandrehtrb commented 4 months ago

Solved on release 3.4.0

P.S.: pasting with Ctrl+V doesn't work yet, only works with mouse right-click