I'm trying to do a small automation based on N8N and I'm trying (first) to authorize myself via /remote/json.php, but without a positive result. I created a remote user. I found information that authorization data should be passed in BODY in JSON as: Code: { "jsonrpc": "2.0", "method": "login", "params": ["remote_user_name", "remote_user_pass"], "id": 1 } but no matter what I do, I always get at the end: Code: { "code": "invalid_method", "message": "Method not provided in json call", "response": false } What am I doing wrong? Regards, Dawid
Here is a REST api example: https://git.ispconfig.org/ispconfig...lop/remoting_client/examples/rest_example.php
Here some more examples: https://forum.howtoforge.de/threads/website-mit-ispconfig-rest-api-hinzufuegen.13822/
Thank you. All the instructions I found led me in the wrong direction - now it looks promising and I'm moving on.
I'm stuck again. What I want to achieve at the moment is access to the user's autoresponder (setting an autoresponder). The user sends an email to the appropriate address, which N8N receives, checks all conditions (security) and tries to set up an autoresponder. I created a remote API user and gave him full rights temporarily. What I achieved is logging into the API (/remote/json.php?login) and getting the session ID via Code: { "username": "remoteuser", "password": "remotepass", "client_login": false } but any call to /remote/json.php?mail_user_get or client_get returns me empty response Code: { "code": "ok", "message": "", "response": [] } Any help?