I have written a flask api which recieves post request params using request.form. API performs perfectly in postman but fails in axios request.
            Asked
            
        
        
            Active
            
        
            Viewed 238 times
        
    1 Answers
-1
            
            
        You can try this way.I hope it will helps you.
axios({
      method: 'post',
      url: '/user/12345',
      data: {
        firstName: 'Fred',
        lastName: 'Flintstone'
      }
    });
 
    
    
        Pushprajsinh Chudasama
        
- 7,772
- 4
- 20
- 43
- 
                    Of course I have tried this. It doesn't help. – Preetam Keshari Nahak Oct 12 '19 at 07:54
