Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
chamilo-lms/assets/vue/services/baseService.js

16 lines
280 B

import api from "../config/api"
/**
* @param {string} iri
* @returns {Promise<axios.AxiosResponse<any>>}
*/
async function find(iri) {
return await api.get(iri)
}
async function post(params) {
return await api.post("/api/resource_links", params)
}
export { find, post }