Closed vasansr closed 3 months ago
For curl requests, we'll have to look into adding another dependency to parse it right? curlconverter seems widely used for this. For regular URI's we can probably use node's in built url
module.
With the curlconverter and the jsontoyaml extension I am able to do this (though it takes two steps). I think this will suffice. Let us not implement the same in zzAPI.
I find myself often pasting the contents of a request from, say nginx logs or when someone sends me the cURL request.
Example:
It would be nice if I could just paste this, select the text, right click on the text and convert it to a GET request.
Or a cURL request in toto:
POST requests are going to be hard to deconstruct, plus I don't usually feel the need for this in POST requests.