diff --git a/src/Pages/Uptime/Configure/index.jsx b/src/Pages/Uptime/Configure/index.jsx index 7434014c2..5b58bf8be 100644 --- a/src/Pages/Uptime/Configure/index.jsx +++ b/src/Pages/Uptime/Configure/index.jsx @@ -479,7 +479,7 @@ const Configure = () => { color={theme.palette.primary.contrastTextTertiary} opacity={0.8} > - The expected value to check in the response. Examples: HTTP status code, text in response body, or specific value from JSON data. + The expected value to check in the response body content. Examples: specific text, HTML elements, or JSON values in the response. diff --git a/src/Pages/Uptime/Create/index.jsx b/src/Pages/Uptime/Create/index.jsx index f7d0f6a4a..2e264086f 100644 --- a/src/Pages/Uptime/Create/index.jsx +++ b/src/Pages/Uptime/Create/index.jsx @@ -465,7 +465,7 @@ const CreateMonitor = () => { color={theme.palette.primary.contrastTextTertiary} opacity={0.8} > - The expected value to check in the response. Examples: HTTP status code, text in response body, or specific value from JSON data. + The expected value to check in the response body content. Examples: specific text, HTML elements, or JSON values in the response. diff --git a/src/Utils/NetworkService.js b/src/Utils/NetworkService.js index ec8a10abf..30f447761 100644 --- a/src/Utils/NetworkService.js +++ b/src/Utils/NetworkService.js @@ -263,6 +263,9 @@ class NetworkService { description: monitor.description, interval: monitor.interval, notifications: monitor.notifications, + matchMethod: monitor.matchMethod, + expectedValue: monitor.expectedValue, + jsonPath: monitor.jsonPath, }; return this.axiosInstance.put(`/monitors/${monitorId}`, updatedFields, { headers: {