{"id":23626266,"url":"https://github.com/datalust/seq-app-httprequest","last_synced_at":"2025-08-31T02:31:39.317Z","repository":{"id":45395934,"uuid":"424819275","full_name":"datalust/seq-app-httprequest","owner":"datalust","description":"Send events and notifications to an HTTP/REST/Webhook endpoint.","archived":false,"fork":false,"pushed_at":"2024-04-26T00:57:50.000Z","size":298,"stargazers_count":12,"open_issues_count":1,"forks_count":3,"subscribers_count":6,"default_branch":"dev","last_synced_at":"2024-12-15T08:32:26.197Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datalust.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-11-05T03:44:05.000Z","updated_at":"2024-11-06T01:08:32.000Z","dependencies_parsed_at":"2024-01-05T01:05:18.190Z","dependency_job_id":"4baaa58b-99db-493a-a3ca-0cfee72298a0","html_url":"https://github.com/datalust/seq-app-httprequest","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datalust%2Fseq-app-httprequest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datalust%2Fseq-app-httprequest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datalust%2Fseq-app-httprequest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datalust%2Fseq-app-httprequest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datalust","download_url":"https://codeload.github.com/datalust/seq-app-httprequest/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231548398,"owners_count":18393559,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-27T22:52:38.967Z","updated_at":"2024-12-27T22:52:39.606Z","avatar_url":"https://github.com/datalust.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Seq.App.HttpRequest [![Build status](https://ci.appveyor.com/api/projects/status/63ki29bjjgk8htn3/branch/dev?svg=true)](https://ci.appveyor.com/project/datalust/seq-app-httprequest/branch/dev) [![NuGet Package](https://img.shields.io/nuget/vpre/seq.app.httprequest)](https://nuget.org/packages/seq.app.httprequest)\n\nSend events and notifications from Seq to a remote HTTP/REST/Webhook endpoint. Requires Seq 2021.4 or better.\n\n## Getting started\n\nInstall the app under _Settings \u003e Apps_. The app package id is `Seq.App.HttpRequest`.\n\nVisit the Seq documentation for [detailed information about installing and configuring Seq Apps](https://docs.datalust.co/docs/installing-seq-apps).\n\n## Configuration\n\nInstances of the app support the following properties.\n\n| Property | Description | Default |\n| --- | --- | --- |\n| **URL** | The target URL. This is a template based on event properties, for example, `https://api.example.com/notify?to={Email}`. Placeholders in templates will be URI-encoded. | |\n| **Method** | The HTTP method to use. | `POST` |\n| **Body** | The request body to send. | |\n| **Body is a template** | Whether to treat the body as a template based on event properties, for example `New request from: {Email}`, or to send the body as-is. | `false` |\n| **Media Type** | Media type describing the body. | |\n| **Authentication Header** | An optional `Name: Value` header, stored as sensitive data, for authentication purposes. | |\n| **Other Headers** | Additional headers to send with the request, one per line in `Name: Value` format. | |\n| **Extended Error Diagnostics** | Whether or not to include outbound request bodies, URLs, etc., and response bodies when requests fail. | `false` |\n\n### Template language\n\nThe URL and body settings are templates that use braces to insert data from the event or notification that is being received by the app.\n\n * Event and notification properties are inserted using `{Name}`\n * Built-in properties use [_CLEF_ names](https://github.com/serilog/serilog-formatting-compact#reified-properties), for example, the timestamp is `@t`, message is `@m`, and level is `@l`\n * Braces are escaped by doubling: `{{` for an opening brace, and `}}` for closing\n * Substitutions can use most Seq query language expressions: `{1 + 2}`, `{Round(Price, 2)}`, etc.\n\nTo send a well-formed JSON payload based on event properties, construct a Seq object literal, and place it between spaced braces. For example:\n\n```\n{ {\n   Timestamp: @t,\n   Source: 'Seq',\n   Contact: { Name: CompanyName, Type: 'Company' }\n} }\n```\n\nThis example will result in request bodies resembling:\n\n```json\n{\n  \"Timestamp\": \"2021-09-15T06:33:21.432\",\n  \"Source\": \"Seq\",\n  \"Contact\": {\n    \"Name\": \"Datalust Pty Ltd\",\n    \"Type\": \"Company\"\n  }\n}\n```\n\nTemplates support repetition, conditionals, and many other features. For a more complete language reference, see [the _Serilog.Expressions_ README](https://github.com/serilog/serilog-expressions#language-reference).\n\n## Development\n\nTo **run the app locally**, without installing the package into Seq, use `Run.ps1` in the repository root. This requires `seqcli` on the path.\n\nThis will stream events from a Seq instance at `http://localhost:5341`, and send HTTP requests to `http://localhost:5050`. Modify the script to\nspecify different app settings.\n\nTo easily **inspect your generated HTTP requests**, check out [Webhook.site](https://webhook.site).\n\n## Acknowledgements\n\nTemplating support is based on code from [_Serilog.Expressions_](https://github.com/serilog/serilog-expressions).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatalust%2Fseq-app-httprequest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatalust%2Fseq-app-httprequest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatalust%2Fseq-app-httprequest/lists"}