http: make request body an "any" type #13

Open
ehmry wants to merge 1 commits from ehmry/syndicate-protocols:http into main
Contributor

Make the body of requests an unspecified type so that drivers can
parse "application/json" or "application/preserves" bodies.

An alternative would be to remove the body from the request
assertion and send it as messages to the handler.

Make the body of requests an unspecified type so that drivers can parse "application/json" or "application/preserves" bodies. An alternative would be to remove the body from the request assertion and send it as messages to the handler.
ehmry added 1 commit 2024-06-05 08:55:56 +00:00
f7552f92cd http: make request body an "any" type
Make the body of requests an unspecified type so that drivers can
parse "application/json" or "application/preserves" bodies.

An alternative would be to remove the body from the request
assertion and send it as messages to the handler.
Author
Contributor

For context, I'm using this protocol to receive webhooks and process JSON data with dataspace patterns.

For context, I'm using this protocol to receive webhooks and process JSON data with dataspace patterns.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b ehmry-http main
git pull http

Step 2:

Merge the changes and update on Forgejo.
git checkout main
git merge --no-ff ehmry-http
git push origin main
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: syndicate-lang/syndicate-protocols#13
No description provided.