---
title: "angular请求后台 报错 400 (Failed to load resource: the server responded with a status of 400 (Bad Request))"
date: 2018-10-25 10:48:40
categories: angular
tags:
- angular
- status
- 请求
- 后台
- 400
- bad request
---
angular请求后台 报错 400 (Failed to load resource: the server responded with a status of 400 (Bad Request))
原因:请求里带的参数和后台接受的参数不一致。
比如,后台里接受了ids这一参数,而请求里没有带这个参数会报此错。