mirror of
https://github.com/matze/wastebin.git
synced 2026-04-25 08:36:00 +03:00
[GH-ISSUE #7] Json post endpoint #6
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/wastebin-matze#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dylanjamesdev on GitHub (Oct 3, 2022).
Original GitHub issue: https://github.com/matze/wastebin/issues/7
Can you add a json post endpoint that takes content as input and returns url, so we can post to the server.
Specific use-case is posting long responses to our instance from discord bot exec command
@matze commented on GitHub (Oct 3, 2022):
Hmm, you can post to
/as explained here and receive the URL. Or do I miss something?@dylanjamesdev commented on GitHub (Oct 13, 2022):
I get error 400's when posting to that endpoint, not sure why. I haven't changed any code manually.
@matze commented on GitHub (Oct 14, 2022):
My bad, I had it fixed in the preparation branch for axum 0.6 but never merged that change back into master. I will cut a 2.0.1 release soon.