Commit ba909997 authored by Joson GE's avatar Joson GE

updation 6

parent 7bc49baf
...@@ -23,7 +23,25 @@ ...@@ -23,7 +23,25 @@
* Create a folder 'Joson.Rest' inside 'Packages' folder. * Create a folder 'Joson.Rest' inside 'Packages' folder.
* make this folder as git local repository.And pull this git entire git repository. Type the below command in terminal. * make this folder as git local repository.And pull this git entire git repository. Type the below command in terminal.
``` ```
git pull http://192.168.1.113/pits/rest_implementation.git git pull http://192.168.1.113/pits/rest_implementation.git
```
## Important point
Configure route in the implemented package is important.For achieving this goal,we should edit Routes.yaml file in the implemented package(Joson.Rest).
> *httpMethods* in the route configuration part, determines which http method can perform the mentioned route. An example configuration is given below.
```
-
name: 'Add user details'
uriPattern: 'api/users'
defaults:
@package: 'Joson.Rest'
@controller: 'Standard'
@action: 'index'
httpMethods: ['PUT']
appendExceedingArguments: true
``` ```
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment