We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd9e894 commit 7044e55Copy full SHA for 7044e55
src/ng/http.js
@@ -319,8 +319,8 @@ function $HttpProvider() {
319
*
320
* To explicitly remove a header automatically added via $httpProvider.defaults.headers on a per request basis,
321
* Use the `headers` property, setting the desired header to `undefined`. For example:
322
- *
323
- * ```
+ *
+ * ```js
324
* var req = {
325
* method: 'POST',
326
* url: 'http://example.com',
@@ -329,7 +329,7 @@ function $HttpProvider() {
329
* },
330
* data: { test: 'test' },
331
* }
332
333
* $http(req).success(function(){...}).error(function(){...});
334
* ```
335
0 commit comments