HeavyRust

joined 2 years ago
[–] HeavyRust@lemm.ee 4 points 2 years ago (3 children)

You can use an external image hosting site like Imgur to upload the screenshot. The JSON error happens because lemm.ee has a 100 KB size limit for image uploads.

[–] HeavyRust@lemm.ee 3 points 2 years ago

Here's the Lemmy HTTP API documentation.

In Rust, you can use a HTTP client like reqwest and the lemmy_api_common crate (along with the lemmy_api and lemmy_api_crud crates in the README) which provides the data types needed to send/receive data when making HTTP requests.

[–] HeavyRust@lemm.ee 2 points 2 years ago* (last edited 2 years ago)

Enchanted liquid

[–] HeavyRust@lemm.ee 4 points 2 years ago* (last edited 2 years ago)
[–] HeavyRust@lemm.ee 3 points 2 years ago

* experiences profound revelation *

* gasps in joy *

[–] HeavyRust@lemm.ee 6 points 2 years ago (1 children)

Where's their food? :(

view more: ‹ prev next ›