EsperoTech / yaade

Yaade is an open-source, self-hosted, collaborative API development environment.
MIT License
1.56k stars 68 forks source link

add import curl request #121

Closed jonrosner closed 5 months ago

arcastro commented 6 months ago

@jonrosner , was looking for exactly this feature :)

Any reason it hasn't merged?

My main use-case is to copy curl-request from chrome developer tools (network tab) and have the ability to import the request onto Yaade.

jonrosner commented 5 months ago

It got lost in other features. It should be almost good to go though. I'll try to finish it up over the weekend.

arcastro commented 5 months ago

Ty for the tool! It's worked great so far, and I was pleasantly surprised that the two features I was missing already had pull requests open 😃

jonrosner commented 5 months ago

@arcastro merged the feature. You can update to the newest version, then create a new request and go to import. Simply paste in your curl and the request is parsed to a yaade request. It is a basic implementation, so more exotic features of curl might not be supported, but basic HTTP requests with URL, headers and body should be no problem.

arcastro commented 5 months ago

@jonrosner, just tried it and it works great!