Skip to content

feat(buyer): if a user requests html, give them html#428

Merged
OisinKyne merged 2 commits into
mainfrom
oisin/pretty-sell-pages
May 5, 2026
Merged

feat(buyer): if a user requests html, give them html#428
OisinKyne merged 2 commits into
mainfrom
oisin/pretty-sell-pages

Conversation

@OisinKyne
Copy link
Copy Markdown
Contributor

Summary

Creates HTML responses for x402 service endpoints. Returns json if content-type is Accept: application/json, or not set, if text/html, it returns this site. This allows us to give link previews and guides on the service page itself if it works out.

@OisinKyne
Copy link
Copy Markdown
Contributor Author

@bussyjd you can check i haven't broken anything too hard in the morning before we pull the publish trigger. Kody may be a pass today

@OisinKyne OisinKyne merged commit 7aefb2d into main May 5, 2026
6 checks passed
@OisinKyne OisinKyne deleted the oisin/pretty-sell-pages branch May 5, 2026 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant