Commit b1e79fab authored by Tamás Danis's avatar Tamás Danis

url

parent df219edf
import axios from 'axios';
const token = localStorage.getItem('auth_token');
const loginUrl = 'http://localhost:8000/api/user/login';
const registerUrl = 'http://localhost:8000/api/user/register';
const saveTransactionUrl = `http://localhost:8000/api/product`;
const fetchTransactionUrl = `http://localhost:8000/api/products`;
const loginUrl = 'http://danistomi/api/user/login';
const registerUrl = 'http://danistomi/api/user/register';
const saveTransactionUrl = `http://danistomi/api/product`;
const fetchTransactionUrl = `http://danistomi/api/products`;
class API {
static login(loginData) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment