
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
vila-requests
Advanced tools
Esta biblioteca oferece um template de utilização junto a biblioteca de requisições, Axios. Além disso, oferece também tratamento de respostas falhas e bem sucedidas.
Widget destinado aos usuários do Push Platform. Este widget é um formulário para fazer a publicação de notificações.
npm install vila-requests axios
yarn add vila-requests axios
import React from 'react'
import {
get,
post,
put,
destroy,
setAuthorizationToken,
} from 'vila-requests'
export default function Example(){
useEffect(() => { getFacts() }, [])
const getFacts = async () => {
const response = await get({
serverUrl: "https://cat-fact.herokuapp.com",
endpoint: "facts"
})
console.log(response)
}
...
}
| PARÂMETRO | OBRIGATÓRIO | DESCRIÇÃO |
|---|---|---|
| serverUrl | sim | Este parâmetro é referente ao baseUrl da API que será consultada |
| endpoint | não | Endpoint da rota desejada |
| bodyParams | não | Parâmetros que serão enviados pelo body do request (passar em formato de JSON) |
| queryStringParams | não | Parâmetros que serão enviados pela URL do request (passar em formato de JSON) |
MIT © vilaapps
FAQs
Esta biblioteca oferece um template de utilização junto a biblioteca de requisições, Axios. Além disso, oferece também tratamento de respostas falhas e bem sucedidas.
We found that vila-requests demonstrated a not healthy version release cadence and project activity because the last version was released 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.