import axios from 'axios';
import Config from '../config';

export const postUser = (user) => {
    return axios.post(`${Config.baseApiUrl}/api/users`, user)
}

// export const postUser = (user) => {
//     return fetch("13.93.237.130:8084/api/users", {method: "POST", body: JSON.stringify(user), headers: {"Content-Type": "application/json"}})
// }

// export const postLogOutUser = (user) => {
//     return axios.post("/api/user", user)
// }