GitHub user yunfan24 added a comment to the discussion: I have written one service which is importing a JSONfile for monitoring internally
1. Due to browser cross-origin restrictions, frontend requests are forwarded to the backend through a proxy. This makes the browser believe that the backend service and the current page domain are the same. Otherwise, the browser will block the request unless the backend is configured to allow cross-origin requests. Our project uses a frontend proxy to resolve cross-origin issues. 2. I couldn't reproduce your issue. I used Postman to send a request to endpoint 1157, and the import was successful. After refreshing the frontend page, I saw the newly imported monitor. Could you please provide relevant screenshots? GitHub link: https://github.com/apache/hertzbeat/discussions/3092#discussioncomment-12325148 ---- This is an automatically sent email for dev@hertzbeat.apache.org. To unsubscribe, please send an email to: dev-unsubscr...@hertzbeat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@hertzbeat.apache.org For additional commands, e-mail: dev-h...@hertzbeat.apache.org