Back to front pageView on Hacker News (opens in a new tab)Show HN: Mitmproxy2swagger – Automagically reverse-engineer REST APIs (opens in a new tab)github.com691 pointsby alufers (on Hacker News)4 years agogithub.com (opens in a new tab)GitHub - alufers/mitmproxy2swagger: Automagically reverse-engineer REST APIs via capturing trafficAutomagically reverse-engineer REST APIs via capturing traffic - alufers/mitmproxy2swaggerComments (85) 38 threadsShow all commentsShowing thread 21 of 38[-]jwong_4 years ago1 reply#Really neat! Gives me an idea on using something like this to generate e.g., CURL commands to mimic SSO flows.Even just documenting an SSO flow as a diagram would be quite neat.john-tells-all4 years ago#Note that for single resources, Chrome/Edge can do this now. There's a semi-hidden "copy this resource as Curl" option:https://everything.curl.dev/usingcurl/copyas#:~:text=From%20....When it works, it's effing magic! Spectacular for very quickly knocking out Bash scripts that test multiple APIs.
Show HN: Mitmproxy2swagger – Automagically reverse-engineer REST APIs (opens in a new tab)github.com691 pointsby alufers (on Hacker News)4 years ago
jwong_4 years ago1 reply#Really neat! Gives me an idea on using something like this to generate e.g., CURL commands to mimic SSO flows.Even just documenting an SSO flow as a diagram would be quite neat.
john-tells-all4 years ago#Note that for single resources, Chrome/Edge can do this now. There's a semi-hidden "copy this resource as Curl" option:https://everything.curl.dev/usingcurl/copyas#:~:text=From%20....When it works, it's effing magic! Spectacular for very quickly knocking out Bash scripts that test multiple APIs.
Comments (85) 38 threads
Show all comments
Showing thread 21 of 38
Even just documenting an SSO flow as a diagram would be quite neat.
https://everything.curl.dev/usingcurl/copyas#:~:text=From%20....
When it works, it's effing magic! Spectacular for very quickly knocking out Bash scripts that test multiple APIs.