Skip to content

Commit

Permalink
Update admin api reference for remote post-serve-action
Browse files Browse the repository at this point in the history
  • Loading branch information
tommysitu committed Apr 26, 2024
1 parent 88422cf commit 16d621f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/pages/reference/api/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,8 @@ It will return list of scripts that can be executed with a binary after response
"actionName": "<post serve action name>",
"binary": "python",
"script": "#python code goes here",
"delayInMs":"#delay(in ms) post which script will be executed after serving the request"
"delayInMs":"#delay(in ms) post which script will be executed after serving the request",
"remote": "<url of the remote action webserver if set>"
}
]
}
Expand All @@ -541,6 +542,7 @@ It returns all the post serve actions.
"binary": "python",
"script": "#python code goes here",
"delayInMs": "#delay(in ms) post which script will be executed after serving the request"
"remote": "<url of the remote action webserver>"
}

DELETE /api/v2/hoverfly/post-serve-action/:actionName
Expand Down

0 comments on commit 16d621f

Please sign in to comment.