Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Axios from 'axios';
- export const api = Axios.create({
- baseURL: "http://localhost:5000/api" ,
- headers: {
- "Content-Type" : "application/json",
- "Authorization" : "Bearer " + localStorage.getItem("usuario-organix")
- }
- });
- export const apiFormData = Axios.create({
- baseURL: "http://localhost:5000/api" ,
- headers: {
- "Authorization" : "Bearer " + localStorage.getItem("usuario-organix")
- }
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement