restcli icon indicating copy to clipboard operation
restcli copied to clipboard

Question: Reuse requests

Open pintomau opened this issue 4 years ago • 2 comments

Hi.

Is there a way one could reuse a file, containing common requests (say authentication, clean up...), to avoid duplicating requests all over files?

Thank you.

pintomau avatar Nov 03 '21 12:11 pintomau

@pintomau Currently, restcli doesn't support reuse the requests yet. But this is a good idea. I will keep this issue then consider to implement in the future.

quangson91 avatar Nov 03 '21 13:11 quangson91

I would also love to see this implemented. Something like a #include filename.http would be great:

#include createTestUserAndLogIn.http

### Execute the actual tests

#include cleanupTestUser.http

This would probably also require a feature request towards JetBrains, right?

berndbrot avatar Apr 12 '22 11:04 berndbrot