import APIClient from '@connect/api-client';

export default new APIClient('/portal/apiproxy/sender', {
    mode: 'cors',
    cache: 'no-cache',
    credentials: 'include',
    headers: {
        Accept: 'application/json',
        'Content-Type': 'application/json',
        'x-csrf-token': document.querySelector('meta[name="csrf_token"]').content,
        'x-request-id': window.ya.connect.initial.requestId,
        'x-client-version': window.ya.connect.config.app.version,
    },
});
