|
|
|
|
|
by graypegg
875 days ago
|
|
Simple way would be to add a “curl” target. Looks like you’d just need to write up a method that matches this Request interface [0] to some curl command substrings you mash together. Problem is of course: the headers and options are all going to be included. You could make it so it organizes them better though, maybe indenting and grouping like-options together so it’s easier to remove stuff. Working with a IR of a network request was a good choice by the author! [0] https://github.com/curlconverter/curlconverter/blob/e4b6fb74... |
|