79620389

Date: 2025-05-13 20:47:30
Score: 2
Natty:
Report link

Since you mentioned in your update that it works when you navigate to the endpoint via the address bar, why not have the button act as a link that navigates there? Instead of trying to force whatever you are doing with ajax.

You can set the link target to "_blank" so that the opened link does not interrupt the current page.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: G H