This is a autopost bolg frinds we are trying to all latest sports,news,all new update provide for you
Sunday, August 11, 2024
Show HN: Wannabe – A versatile Go tool for generating mock HTTP APIs https://ift.tt/FqgkSfE
Show HN: Wannabe – A versatile Go tool for generating mock HTTP APIs Hey HN! Half a year ago, I decided to learn the basics of Go and create something useful along the way. Thus, I created Wannabe, a tool that's useful for generating mock HTTP APIs used in integration and all the other kinds of testing. How it works? Wannabe functions as a standalone server. Upon receiving a request, it generates a cURL command from it based on the request matching configuration you set and generates a hash from the prepared cURL command. When in "proxy" or "mixed" mode, Wannabe proxies the request to the external provider and stores the request/response pair as a record in the configured storage provider using the generated hash as a key. When in "mixed" or "server" mode, Wannabe looks up the matching record in the configured storage provider using the generated hash as a record key and responds with the stored response if it finds a matching record. Of course, similar tools already exist, but this is the one I started, and I'm already implementing it into testing flows at the company I work for. ;) I'm kindly inviting you to check out the repository and documentation on GitHub. All comments and potential contributions in the future are highly welcome. If there’s enough interest, I’m more than ready to develop it further. Take care... and keep creating! https://ift.tt/y0elEPT August 12, 2024 at 12:38AM
Subscribe to:
Post Comments (Atom)
Show HN: We post-trained a model that pen tests instead of refusing https://ift.tt/W4x1YnM
Show HN: We post-trained a model that pen tests instead of refusing Anthropic and OpenAI's publicly available models are explicitly guar...
-
Show HN: When is the next Caltrain? (minimal webapp) I was frustrated with the existing caltrain websites / apps, so I made a super minimali...
-
Show HN: I built Dirac, Hash Anchored AST native coding agent, costs -64.8 pct Fully open source, a hard fork of cline. Full evals on the gi...
-
Show HN: A directory of 800 free APIs, no auth required Explore reliable free APIs for developers — ideal for web and software development, ...
No comments:
Post a Comment