Yes, my curl is acting strange:
> POST /api/docs/DomainCosmoClaims/claim1?author=1 HTTP/1.1
leads to
< HTTP/1.1 405 Method Not Allowed
< Allow: DELETE,POST,GET,PUT,OPTIONS,HEAD
could you think of any reason for this?
Herer is the completet transcript:
* Trying <INTERNAL_IP>...
* TCP_NODELAY set
* Connected to <INTERNAL_LINK> (<INTERNAL_IP>) port 443 (#0)
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
* CAfile: /etc/ssl/cert.pem
CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [64 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [4705 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use http/1.1
* Server certificate:
* subject: CN=*.<INTERNAL_LINK> serialNumber=00:00:01; OU=services; O=mgm technology partners GmbH; C=DE
* start date: May 16 14:07:08 2018 GMT
* expire date: May 15 14:07:08 2020 GMT
* issuer: CN=mgmSecureServiceCA; O=mgm technology partners GmbH; C=DE
* SSL certificate verify ok.
* Server auth using Basic with user 'admin'
> POST /api/docs/DomainCosmoClaims/claim1?author=1 HTTP/1.1
> Host: <INTERNAL_LINK>
> Authorization: Basic YWRtaW46YWRtaW4=
> User-Agent: curl/7.54.0
> Accept: */*
> Content-Type: application/json;charset=utf8
> Content-Length: 477
>
} [477 bytes data]
* upload completely sent off: 477 out of 477 bytes
< HTTP/1.1 405 Method Not Allowed
< Allow: DELETE,POST,GET,PUT,OPTIONS,HEAD
< Content-Length: 0
< Date: Thu, 27 Sep 2018 10:42:37 GMT
< Server: nginx/1.15.3
< Set-Cookie: rememberMe=deleteMe; Path=/; Max-Age=0; Expires=Wed, 26-Sep-2018 10:42:37 GMT
<
* Connection #0 to host <INTERNAL_LINK> left intact