https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/415
Perhaps it doesn't like your Content-Type with trailing semicolon? Also,
the body you've given is not valid JSON:
body: '{aaaa: "355987085036738",status: "Active"}
--->
body: '{"aaaa": "355987085036738","status": "Active"}'
I'd suggest the easiest way to debug this is to use "curl" interactively
until you can find a series of options that works, and then you can
translate that into blackbox_exporter configuration.
Another thing you can do is to use tcpdump to capture the response from the
remote webserver when blackbox_exporter scrapes it. It may include text in
the response body which explains the problem with the request. Something
like this (adjust the interface name as necessary):
tcpdump -i eth0 -nn -s0 -A host xxx.yyy and tcp port 80
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/84286cc5-1266-4737-ba5f-5bcdcaae9bb6%40googlegroups.com.