Closed eruvanos closed 8 years ago
Invoking siege (4.0.2) with the POST command, doesn't request with POST. I had a Java Spring Controller which is just available for post requests.
With following command: siege -t 1M -H 'Content-Type: application/json' -H "Authorization: Bearer $token" "https://$host/api POST {}"
siege -t 1M -H 'Content-Type: application/json' -H "Authorization: Bearer $token" "https://$host/api POST {}"
All siege requests result in 405s, since the server is rejecting them as GET requests:
HTTP/1.1 405 0.29 secs: 219 bytes ==> POST https://...
Network issues with proxy. Solved. Sry.
Invoking siege (4.0.2) with the POST command, doesn't request with POST. I had a Java Spring Controller which is just available for post requests.
With following command:
siege -t 1M -H 'Content-Type: application/json' -H "Authorization: Bearer $token" "https://$host/api POST {}"
All siege requests result in 405s, since the server is rejecting them as GET requests: