Back to Blog
Node js http client6/11/2023 ![]() Microlink is a cloud browser as an API service that uses Got widely as the main HTTP client, serving ~22M requests a month, every time a network call needs to be performed. Natural Cycles is using Got to communicate with all kinds of 3rd-party REST APIs (over 9000!). Resistbot uses Got to communicate from the API frontend where all correspondence ingresses to the officials lookup database in back. Renovate uses Got, gh-got and gl-got to send millions of queries per day to GitHub, GitLab, npmjs, PyPi, Packagist, Docker Hub, Terraform, CircleCI, and more. Karaoke Mugen uses Got to fetch content updates from its online server. Exoframe is a self-hosted tool that allows simple one-command deployments using Docker. We're using Got inside of Exoframe to handle all the communication between CLI and server. One of the unique capabilities of Got is the ability to handle Unix sockets which enables us to build a full control interfaces for our docker stack. GetVoIP is happily using Got in production. Those files go on to be used to create the HTML pages and supporting assets. The main site generator downloads that UI from a URL using Got and streams it to vinyl-zip to extract the files. That project exports the UI as a zip file we call the UI bundle. In Antora, the UI bundle (aka theme) is maintained as a separate project. It's used by our in-house RPC client that we use to communicate with all microservices.Īntora, a static site generator for creating documentation sites, uses Got to download the UI bundle. Segment is a happy user of Got! Got powers the main backend API that our app talks to. Very experimental.Ĭlick here to see the install size of the Got dependencies. ❇️ Almost-stable feature, but the API may change. *** Currently, only DownloadProgress event is supported, UploadProgress event is not supported. Doesn't accept PUSH streams and doesn't reuse HTTP/2 sessions. * It's almost API compatible with the browser fetch API. graphql-got - Got convenience wrapper to interact with GraphQL.travis-got - Got convenience wrapper to interact with the Travis API.got-ssrf - Got wrapper to protect server-side requests against SSRF attacks. ![]() got-scraping - Got wrapper specifically designed for web scraping purposes.gotql - Got convenience wrapper to interact with GraphQL using JSON-parsed queries instead of strings.gl-got - Got convenience wrapper to interact with the GitLab API.gh-got - Got convenience wrapper to interact with the GitHub API.got4aws - Got convenience wrapper to interact with AWS v4 signed APIs.Highlightsīy default, Got will retry on failure. Import got from 'got' const įor advanced JSON usage, check out the parseJson and stringifyJson options.įor more useful tips like this, visit the Tips page.
0 Comments
Read More
Leave a Reply. |