Espo CRM PUT Method not allowed
-
Hello,
Accessing via API works for me for GET method, but PUT is not working. I've seen in the github issues that it has to do with apache setup (https://forum.espocrm.com/forum/general/2359-error-405)
There's nothing if the cloudron app docs for this info. Could you please advise where I can setup this?
-
This probably has nothing to do with the issue from that link from 2014. We use a pretty standard apache config which should have all verbs enabled https://git.cloudron.io/cloudron/espocrm-app/-/blob/master/apache/espocrm.conf?ref_type=heads
What is the error you are getting? Maybe also paste the curl commandline to reproduce this.
-
-
The error says:
Method Not Allowed The requested method PUT is not allowed for this URL.
cURL:
curl --request PUT \ --url REDACTED.TLD/Account/5564764442a6d024c \ --header 'Content-Type: application/json' \ --data '{ "cLinkedInCompanyPageURL": "https://www.linkedin.com" }'
My main question is how to override allowed methods in Apache. In
/app/data/apache
I see portals.conf and mpm_prefork.conf, that's it. Maybe you could point me into the right place in docs to read about the way apache overrides work in cloudron packaged apps. -
-