You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: docs/content/error/$http/badreq.ngdoc
+5-1
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,11 @@
3
3
@fullName Bad Request Configuration
4
4
@description
5
5
6
-
This error occurs when the request configuration parameter passed to the {@link ng.$http `$http`} service is not an object. `$http` expects a single parameter, the request configuration object, but received a parameter that was not an object. The error message should provide additional context such as the actual value of the parameter that was received. If you passed a string parameter, perhaps you meant to call one of the shorthand methods on `$http` such as `$http.get(…)`, etc.
6
+
This error occurs when the request configuration parameter passed to the {@link ng.$http `$http`} service is not a valid object.
7
+
`$http` expects a single parameter, the request configuration object, but received a parameter that was not an object or did not contain valid properties.
8
+
9
+
The error message should provide additional context such as the actual value of the parameter that was received.
10
+
If you passed a string parameter, perhaps you meant to call one of the shorthand methods on `$http` such as `$http.get(…)`, etc.
7
11
8
12
To resolve this error, make sure you pass a valid request configuration object to `$http`.
0 commit comments