
Security News
US Government Forces Anthropic to Pull Claude Fable Days After Launch
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.
@cisdi/request
Advanced tools
http request for browser based on
window.fetch
npm install @cisdi/request
import Request from "@cisdi/request";
const request = new Request({
baseURL: "https://example.com",
});
request.get("/posts/{id}", {
params: { id: 1 },
});
request.post("/posts", {
body: { content: "content" },
});
request.put("/posts/{id}", {
params: { id: 1 },
body: { content: "content" },
});
request.patch("/posts/{id}", {
params: { id: 1 },
body: { content: "content" },
});
request.del("/posts/{id}", {
params: { id: 1 },
});
new Request(options?)
request.get(url, Req): send http request use GET
request.post(url, Req): send http request use POST
request.put(url, Req): send http request use PUT
request.patch(url, Req): send http request use PATCH
request.del(url, Req): send http request use DELETE
(req: Req) => Promise<Req>(res: Res) => Promise<Res>request config
body: request bodyheaders: request headersquery: request query paramsparams: request path paramsoriginal fetch response, but with res.data, which is serialized from res.body based on Content-Type
FAQs
http request util based on Fetch API
We found that @cisdi/request demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.