docs(http): fix missing variable from BaseRequestOptions example
This commit is contained in:
parent
5ea9c1e7fd
commit
9c4ab2b2b8
|
@ -135,6 +135,7 @@ export class RequestOptions {
|
||||||
* ```
|
* ```
|
||||||
* import {BaseRequestOptions, Request, RequestMethods} from 'angular2/http';
|
* import {BaseRequestOptions, Request, RequestMethods} from 'angular2/http';
|
||||||
*
|
*
|
||||||
|
* var options = new BaseRequestOptions();
|
||||||
* var req = new Request(options.merge({
|
* var req = new Request(options.merge({
|
||||||
* method: RequestMethods.Post,
|
* method: RequestMethods.Post,
|
||||||
* url: 'https://google.com'
|
* url: 'https://google.com'
|
||||||
|
|
Loading…
Reference in New Issue