epimorphics / qonsole

A simple console for running SPARQL queries and displaying results
Other
16 stars 2 forks source link

Export query as CURL command #25

Closed paperclipmonkey closed 6 years ago

paperclipmonkey commented 6 years ago

The user should be able to copy a query out in to a CURL string for use in a terminal

paperclipmonkey commented 6 years ago

Option 1: Add button to the UI (near the query input?) When click button generate a new string that has all query params in. Option 2: Switch to using Axios with the axios-curlirize plugin. This adds curl command to any axios request and logs it to the console. (Possible to fake out console?). Then possible to output curl command at any time https://github.com/delirius325/axios-curlirize