import axios from 'axios'; const API_URL = 'https://example.api/endpoint/one'; const BEARER_AUTH_TOKEN = '12341234'; const axiosInstance = axios.create({ baseURL: API_URL, headers: { 'Authorization': `Bearer ${BEARER_AUTH_TOKEN}`, 'Content-Type': 'application/json' } }); const postData = { // POST so'rovida yuboriladigan ma'lumotlar }; axiosInstance.post'/', postData).then(response => console.log {(response.data); }).catch(error => console.error); });
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence