我在angular中,如何获取图片验证码呀?
angular代码
getVerifyCode() {
let headers = new HttpHeaders().set('Content-Type', 'application/x-www-form-urlencoded')
.append('deviceId', this.deviceId);
this.http.get('/api/code/image',{headers: headers}).subscribe(
data => {
console.log(data);
}
);
}
报错!
Spring Security技术栈,REST风格开发常见接口,独立开发认证授权模块保证REST服务安全
了解课程