Jorge M. avatar image
Jorge M. asked ·

HTTP error 415 in call to REST API v2

I obtain a 415 httperror in the call to the Rest api of Appmon-7.0 via curl. Initially I make a call to the /session/store endpoint and finally I tried with a most simplified example found in the Appmon-Documentation:

curl -X POST -H \"Content-Type: application/json\" -u xxxxx:yyyyy -k -v -d '{ \"category\": \"external\" }' https://mydynatraceserver:8021/api/v2/profiles/ShopCI/testruns

In both cases the result is the httperror 415. That is the call and response from the Appmon-Server:

rest apierrors
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

0 Answers