<script>
import { ref } from 'vue'
import axios from 'axios'
import {API_URL} from "@/main.js";

export const unauthenticatedRequest = (url, method, data) => {
  return axios({
    method,
    url: API_URL + url,
    data,
  });
};
</script>