(url: string, options: AxiosRequestConfig = {})
| 94 | } |
| 95 | |
| 96 | async get(url: string, options: AxiosRequestConfig = {}): Promise<SessionResponseInterface> { |
| 97 | return this.makeSessionResponse(await (await Session.importAxios())(url, { |
| 98 | headers: { |
| 99 | Cookie: (await this.getCookies()).get().join("; ") |
| 100 | }, |
| 101 | ...options |
| 102 | })) |
| 103 | } |
| 104 | |
| 105 | async post(url: string, data?: any, options: AxiosRequestConfig = {}): Promise<SessionResponseInterface> { |
| 106 | return this.makeSessionResponse(await (await Session.importAxios()).post(url, data, { |
nothing calls this directly
no test coverage detected