(#22356) Change POST to PUT, fix Ruby 1.8.7 and windows issue

1.8.7 does not have File.absolute_path which broke the test. Method not
needed since jsonschema for report is no "all in one file".

The schema gem does not work on windows; tests cannot run there.

HTTP PUT is the method used for the report API, not POST.