Merge pull request #29966 from MoustafaMohsen/patch-1

Typo in example code block
This commit is contained in:
Vedanshu Jain 2021-06-23 19:36:06 +05:30 committed by GitHub
commit f367fcd4f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ client = HTTPClientFactory.build( 'https://example.com' )
.create(); .create();
// You can then use the client to make API requests. // You can then use the client to make API requests.
httpClient.get( '/wc/v3/products' ).then( ( response ) => { client.get( '/wc/v3/products' ).then( ( response ) => {
// Access the status code from the response. // Access the status code from the response.
response.statusCode; response.statusCode;
// Access the headers from the response. // Access the headers from the response.