Support "imports"
Closed this issue · 2 comments
antoinechalifour commented
Add support for creating requests and empty responses using curl.
Use case:
- The API is not ready yet, but the team already knows the endpoints and responses.
- In the front-end, the developer will write the regular code, even if the API isn't readu
- The request will first fail in the browser
- The developer can right-click the failed request and
copy as curl
- The developer can import the request in memento and manually edit the response while the API is being developed
memento$ import curl "<curl command>"
maritaria commented
A simple implementation could open the system's default terminal text editor. The file is populated with a template html response which the user can edit.
antoinechalifour commented
Love the idea, going to implement this!