docs(http): fix missing variable from BaseRequestOptions example

This commit is contained in:
Jeff Cross 2015-09-22 17:21:05 -07:00
parent 5ea9c1e7fd
commit 9c4ab2b2b8
1 changed files with 1 additions and 0 deletions

View File

@ -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'