import axiosInstance from './axiosInstance' interface StudentResponse { max_pages: number students: { first_name: string last_name: string index: number mode: boolean group: any }[] } export const getStudents = () => axiosInstance.get( 'http://127.0.0.1:5000/api/coordinator/students', ) export const uploadStudents = (payload: FormData) => axiosInstance.post( 'http://127.0.0.1:5000/api/coordinator/students/upload/', payload, )