I’m toying about with writing a client in Rust.
Example code online uses the API endpoint https://lemmy.ml/api/v3/post/list
, and when I go to this link in a browser, it doe indeed load data. However, when I try to load it from a program, it gives me a 403 Forbidden
. Does anyone know why this could be?
(code)
Strange, you’re right, it does seem to work when I run it on
lemmy.world
instead