Untitled
unknown
plain_text
a year ago
404 B
3
Indexable
const axios = require('axios'); let data = JSON.stringify({ "chat_id": "", "text": "test" }); let config = { method: 'post', maxBodyLength: Infinity, url: headers: { 'Content-Type': 'application/json' }, data : data }; axios.request(config) .then((response) => { console.log(JSON.stringify(response.data)); }) .catch((error) => { console.log(error); });
Editor is loading...
Leave a Comment