resting icon indicating copy to clipboard operation
resting copied to clipboard

Create request template

Open mirkoperillo opened this issue 6 years ago • 5 comments

It can be useful to create and save a template of a frequently used request.

mirkoperillo avatar May 14 '19 04:05 mirkoperillo

Hello. If I may, I would like to resolve this .

vanholler avatar Dec 08 '19 11:12 vanholler

Wow @vanholler it would be awesome. The idea is to cover this scenario: Often during the daily work you have to create some requests with a similar structure, so it can be useful to create a template for these requests and to have the possibility to create a new request selecting a template.

For example often I have to create POST requests with some common and fixed headers such as Content-Type: application/json and Authentication: Bearer ${token}

The idea could be:

  1. Add the possibility to save a request with Save as template.
  2. Save this template into a collection templates in localstorage
  3. Add somewhere a button to create a request using a template

There is a bit of work to do, so let me know what you think about and if you are still interesting in working in this.

mirkoperillo avatar Dec 09 '19 19:12 mirkoperillo

Thanks for the description, this should be enough for me to do this. As soon as I have free time, I will get to work, probably after the weekend or on weekend.

vanholler avatar Dec 12 '19 07:12 vanholler

thank you @vanholler if you need write here or draft a PR on which to speak about

mirkoperillo avatar Dec 12 '19 12:12 mirkoperillo

@vanholler I think I can consider you aren't working on this. I unassign it.

feel free to claim it if you think to work on it

mirkoperillo avatar Sep 25 '20 09:09 mirkoperillo