HN2new | past | comments | ask | show | jobs | submitlogin

This is a handy tool to convert curl to the python requests equivalent automatically.

https://curl.trillworks.com

Since chromium-based browsers will generate curl requests from the network tab of devtools, you can use that along with the above to quickly generate code to replay requests with python.



Hey that's a nice tool! I didn't know that existed and now I'm wondering why I didn't think to Google and find out. Thanks for sharing!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: