web-humas-fe/services/subscribe.ts

18 lines
395 B
TypeScript
Raw Normal View History

import {
httpDeleteInterceptor,
httpGet,
httpPost,
httpPut,
} from "./http-config/axios-base-service";
import Cookies from "js-cookie";
const token = Cookies.get("access_token");
export async function subscription(data: any) {
const headers = {
"content-type": "application/json",
};
2026-03-30 13:45:04 +00:00
const pathUrl = `/subscription`; //test
return await httpPost(pathUrl, headers, data);
}