Shahrbin-Admin-Nextjs/lib/api/Authenticate.ts

10 lines
193 B
TypeScript

import api from "./apiInstance";
export async function getCaptcha() {
const response = await api.get("api/Authenticate/Captcha", {
responseType: "blob",
});
return response.data;
}