this post was submitted on 11 Jan 2025
5 points (85.7% liked)
JavaScript
1700 readers
1 users here now
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
~~Could you provide a link to the documentation for the endpoint you want to access? I can’t find it. My guess is that you need to fetch a specific user via
${api}/user/124356
.~~Docs here. My guess is wrong.
God, that documentation is annoying to read. I revise my revised opinion. Try providing a user ID or a username as query parameters in your API call.
now it give me data of someone but not about loggined account...
You need to provide the user ID (or username) of the account you want to fetch in the query parameters.