Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

axios 400 bad request

if (error.response){

//do something

}else if(error.request){

//do something else

}else if(error.message){

//do something other than the other two

}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #axios #bad #request
ADD COMMENT
Topic
Name
6+3 =