Improvements from anna fork
[anna.git] / example / diameter / launcher / deployments / aots / agents / HTTPMOCK / ACTIONS.md
1 # HTTPMOCK actions
2
3 ## serve_json
4
5 Serve a json response body for specific method is given uri.
6
7 Arguments: json, method, uri
8 * json: json file for response body.
9 * method: POST, PUT, GET, DELETE.
10 * uri: uri where the json response is served.
11
12 Example:
13 ```
14 - action: DA/serve_json
15   arguments:
16     json: reponse.json
17     method: POST
18     uri: <uri-where-to-serve>
19 ```
20