diff --git a/CHANGELOG.md b/CHANGELOG.md index 56a7343..505f9d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [v1.1.0] - 2017-08-24 ### Added - RabbitMQ message consumer for asynchronous script execution -- Add possibility to send parameters as a JSON in the request body +- HTTP: Add possibility to send parameters as a JSON in the request body ### Changed - Refactor code: extract modules into separate classes diff --git a/PSScriptInvoker/RabbitMqModule.cs b/PSScriptInvoker/RabbitMqModule.cs index ab7efa7..97fcca4 100644 --- a/PSScriptInvoker/RabbitMqModule.cs +++ b/PSScriptInvoker/RabbitMqModule.cs @@ -146,7 +146,7 @@ private void writeResponse(BasicDeliverEventArgs args, string messageText, int s props.DeliveryMode = 2; props.Headers = args.BasicProperties.Headers; - props.Headers.Add("StatusCode", statusCode); + props.Headers.Add("statusCode", statusCode); lock (rabbitMqChannel) { diff --git a/README.md b/README.md index b1dfd2b..a23e9ad 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,7 @@ For executing scripts asynchronously, you can use the RabbitMQ module of the ser - Routing key: The routing key you have defined in the service configuration (see [section Configuration](#configuration)) - Headers: - All headers from the request message will be copied. - - `StatusCode`: A HTTP status code. + - `statusCode`: A HTTP status code. - Body: - The script result.