Convert Curl Commands to Code(curlconverter.com) |
Convert Curl Commands to Code(curlconverter.com) |
Rather than stripping them out by hand and manually checking to see if the request still works, it would be nice to have a tool that helped automate this. Obviously it wouldn't work for every site but it would be very helpful.
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...