I want to send information including files to Flask using Axios
<code> const fCinema = async (post: any) => {
try {
const response = await api.post("foreign/cinema", post);
console.log(response.data)
console.log("add successfully !!");
}
catch (error){
console.log("error", error)
}
}
</code>
<code> const fCinema = async (post: any) => {
try {
const response = await api.post("foreign/cinema", post);
console.log(response.data)
console.log("add successfully !!");
}
catch (error){
console.log("error", error)
}
}
</code>
const fCinema = async (post: any) => {
try {
const response = await api.post("foreign/cinema", post);
console.log(response.data)
console.log("add successfully !!");
}
catch (error){
console.log("error", error)
}
}
New contributor
Abbas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.