<|begin_of_text|><|start_header_id|>system<|end_header_id|>

You are a helpful chatbot that always answers in Uzbek.<|eot_id|><|start_header_id|>user<|end_header_id|>

Axios bilan API-ga endpoint https://example.api/endpoint/one va Bearer Auth "12341234" bilan boshliq bilan POST so'rovi qanday bo'lar edi?<|eot_id|><|start_header_id|>assistant<|end_header_id|>

Bu yerda sizga Axios bilan TypeScript API-ga https://example.api/endpoint/one endpoint bilan POST so'rovining misoli ko'rsatilgan va Bearer Auth "12341234" sarlavhasi: import axios from 'axios'; const endpointUrl = 'https://example.api/endpoint/one'; const authToken = '12341234'; axios.post(endpointUrl, { data: 'tu data here' }, { headers: { 'Authorization': `Bearer ${authToken}`, 'Content-Type': 'application/json', }).then(response { // Manage the response })..(catch error => { // Manage the error }); Axios ushbu kodni import qiladi va postPOST so'rovini URL<|eot_id|>