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 5388ca5 commit 95e03bcCopy full SHA for 95e03bc
src/ng/http.js
@@ -351,8 +351,8 @@ function $HttpProvider() {
351
*
352
* To explicitly remove a header automatically added via $httpProvider.defaults.headers on a per request basis,
353
* Use the `headers` property, setting the desired header to `undefined`. For example:
354
- *
355
- * ```
+ *
+ * ```js
356
* var req = {
357
* method: 'POST',
358
* url: 'http://example.com',
@@ -361,7 +361,7 @@ function $HttpProvider() {
361
* },
362
* data: { test: 'test' },
363
* }
364
365
* $http(req).success(function(){...}).error(function(){...});
366
* ```
367
0 commit comments