summaryrefslogtreecommitdiffstats
path: root/front/odiparpack/app/api/pedido.js
blob: 63d6e2ed7ba326a89434c14a245698547708c3db (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(`ayuda/`)
}

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