javascript - read response of http request -


this may looks silly don't understand why happening

sinple http request

http.get(url, {}, function(e,r){       console.log(e, r);       if(e){         toastr.error("invalid withdraw address, please check address , try again");         return;       }else{         console.log(r, r.statuscode,r.data.isvalid, r.isvalid);         var d = r.data;         console.log(d, d.isvalid);         if( r.statuscode === 200 &&  r.data.isvalid ){           }else{             toastr.error("invalid withdraw address, please check address , try again");             return;          }          $('#withdrawmodal').modal('hide');       }     }); 

i'm not able read response

enter image description here

i want read "isverify" value in response, tried possibilities i'm getting undefined

the response contains isvalid, logging isvalid. 2 names different.


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -