<commit_before>This plugin does a HTTP/HTTPS request to a speficied URL with the build parameters automatically
part of the payload as key/value pairs.

It can be configured whether GET or POST (default) should be used as HTTP method, as well
as if the status return code of the response marks the build as failed (default) or is ignored.
You can specify different username / password pairs in the global configuration to support
authenticated HTTP/HTTPS requests, which you then refer to from your build configuration.
<commit_msg>Updated the README.md file<commit_after># Http Request Plugin for Jenkins

This plugin sends a HTTP/HTTPS request to a speficied URL, with the build parameters optionally
appended to the URL as key value pairs.

## Features:

* Select the HTTP method: GET, POST, PUT, DELETE, or HEAD
* Select a range of expected response codes (a response code outside the range fails the build)
* Specify a username / password in the global configuration, that can be used for Basic Digest Authentication
* Supports From Authentication
* Specify a string that must be present in the response, if the string is not present, the build fails
* Store the response to a file
* Set a connection timeout limit (build fails if timeout is exceeded)
* Send an "Accept" header
* Send a "Content-type" header

## When using this plugin as a Pipeline step:

* The build parameters configuration is ignored, you must append build parameters programmatically to the url. This is more flexible as you can cherry pick which build parameters to pass.

### Pipeline example:

In a Pipeline job, you have total control over how the url is
formed. Suppose you have a build parameter called "pretty",
you can pass it to the HTTP request programmatically with:

    node () {
        step([$class:
            'HttpRequest',
            url: "http://httpbin.org/response-headers?pretty=${pretty}",
            consoleLogResponseBody: true
        ])
    }

{'fraction_non_alphanumeric': 0.05128205128205128, 'fraction_numerical': 0.0, 'mean_word_length': 3.989769820971867, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5572914', 'n_tokens_mistral': 480, 'n_tokens_neox': 466, 'n_words': 282}