summaryrefslogtreecommitdiffstats
path: root/front/odiparpack/app/api/pedido.js
blob: 0b7e3d150b039b4daa518b16c3adea57831b13fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import axios from 'axios';
import { apiGet } from '../utils/odipar/api';

//GET APIS
export const getPedidosAPI = async () => {
    return await apiGet(`camion/`)
}

export function getAPi(){
    axios.get(
        `http://localhost:8083/ayuda/`, //TODO: check currentTimeStamp
        { 
            headers: {
                'Content-type': 'application/json',
            },
        }
    )
}