浏览代码

Update README.md to fix examples (#122)

Idir Ouhab Meskine 8 年之前
父节点
当前提交
eba104355a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -109,13 +109,13 @@ If your API route accepts a `GET` method, this package tries to call the API rou
 If your API needs an authenticated user, you can use the `actAsUserId` option to specify a user ID that will be used for making these API calls:
 If your API needs an authenticated user, you can use the `actAsUserId` option to specify a user ID that will be used for making these API calls:
 
 
 ```sh
 ```sh
-$ php artisan api:generate --routePrefix=api/* --actAsUserId=1
+$ php artisan api:generate --routePrefix="api/*" --actAsUserId=1
 ```
 ```
 
 
 If you don't want to automatically perform API response calls, use the `noResponseCalls` option.
 If you don't want to automatically perform API response calls, use the `noResponseCalls` option.
 
 
 ```sh
 ```sh
-$ php artisan api:generate --routePrefix=api/* --noResponseCalls
+$ php artisan api:generate --routePrefix="api/*" --noResponseCalls
 ```
 ```
 
 
 > Note: The example API responses work best with seeded data.
 > Note: The example API responses work best with seeded data.