{"size": 305, "ext": "js", "max_stars_repo_path": "public/js/servicios/productosServicios.js", "max_stars_repo_name": "DrKoi/damore_store", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "public/js/servicios/productosServicios.js", "max_issues_repo_name": "DrKoi/damore_store", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "public/js/servicios/productosServicios.js", "max_forks_repo_name": "DrKoi/damore_store", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 23.4615384615, "max_line_length": 65, "alphanum_fraction": 0.593442623}
const getProductos = async()=>{

    let resp = await axios.get("api/productos/get");
    return resp.data;
};

const crearProductos = async(producto)=>{
    let resp = await axios.post("api/productos/post", producto, {
        headers:{
            'Content-type': 'application/json'
        }
    });
};