DEV Community

Ido David
Ido David

Posted on

ChatGPT: How I used it to convert http requests to cUrl

Hello fellow developers.
So today I asked ChatGPT to write a function that converts an http requests to curl commands. And I integrated this code to my sass project.
It worked flawlessly.

This is the chat:
Image description

I modified the code a little bit for better presentation.
You can see the code I merged in this PR:
Sharkio integrate cUrl PR

Image description

And this is the result:
Image description

If you want to know more about the sass I'm developing.
Check out Sharkio on Github.

Top comments (0)