
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
apimatic-requests-client-adapter
Advanced tools
An adapter for requests client library consumed by the SDKs generated with APIMatic
Requests is a simple, yet elegant, HTTP library. This repository contains the client implementation that uses the requests library for python SDK provided by APIMatic.
Currenty APIMatic supports Python version 3.7+
hence the apimatic-requests-client-adapter will need the same versions to be supported.
Simply run the command below in your SDK as the apimatic-requests-client-adapter will be added as a dependency in the SDK.
pip install apimatic-requests-client-adapter
Supported Methods Provided by requests-client
Method | Description |
---|---|
create_default_http_client | function to creat a defaultp http client |
force_retries | Reset retries according to each request |
execute | Execute a given HttpRequest to get a string response back |
convert_response | Converts the Response object of the CoreHttpClient into a CoreHttpResponse object |
The requests client implementation also contains unit tests to ensure reliability of the implementation and to prevent unwanted breakages.
FAQs
An adapter for requests client library consumed by the SDKs generated with APIMatic
We found that apimatic-requests-client-adapter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.