CMDBuild Forum

Method POST "405 Method Not Allowed" (Rest api)

Hi there,

I’ve just deployed CMDBuild READY2USE package over Ubuntu Server.
I’m trying to create a new class or insert data into an existing card, but I get this error all the time:

  • Connected to 192.1*.. (192.1*..) port 8080 (#0)

POST /cmdb/services/rest/v2/classes HTTP/1.0
Host: 192.1*..:8080
User-Agent: curl/7.47.0
Accept: /
Content-Type: application/json
CMDBuild-Authorization: lpkajfiecoj7vk
Content-Length: 41

  • upload completely sent off: 41 out of 41 bytes
    < HTTP/1.1 405 Method Not Allowed
    < Server: Apache-Coyote/1.1
    < CMDBuild-RequestId: mp98723lkajhdfis3fnyxu0
    < X-XSS-Protection: 1; mode=block
    < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
    < Pragma: no-cache
    < Expires: 0
    < X-Frame-Options: SAMEORIGIN
    < Allow: DELETE,POST,GET,PUT,OPTIONS,HEAD
    < Date: Tue, 03 Dec 2019 11:15:04 GMT
    < Content-Length: 0
    < Connection: close

Could someone help me please?

Thanks
Best regards