API routes not found #144
-
Hi, Thanks for the great work on this tool! I'm getting started and the web version works good. I'm currently trying out the API to automate but I'm getting a NotFoundHttpException. GET I can access this page via the website so the workspace does exist Installed as standalone, the latest version Example Request:
Could you please point out where I'm missing something? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Okay so turns out the documentation here is old: https://sendportal.io/docs/v2/api/introduction I removed any references to workspace in the URL and it works. Original: Been a long evening, will try to raise a PR tomorrow. All I needed was time away from development, some food and then I was able to figure out the reason. |
Beta Was this translation helpful? Give feedback.
Okay so turns out the documentation here is old: https://sendportal.io/docs/v2/api/introduction
I removed any references to workspace in the URL and it works.
Original:
http://mail.website.local:8082/api/v1/workspaces/1/templates
Current:
http://mail.website.local:8082/api/v1/templates
Been a long evening, will try to raise a PR tomorrow. All I needed was time away from development, some food and then I was able to figure out the reason.