It looks like there’s an endpoint to set a user’s info, including their location.
However, I can’t figure out:
How to pass the user ID instead of the username?
When I post a new location to
mydiscourse.com/u/my_user_name, I’m getting a 404 error on return… not sure why. I’m using the same code that I used to post other things to the API. So I’m thinking that endpoint is wrong, even though it seems like that’s what in the API code. Am I just mis-reading the API code? [Edit: I tried adding
.jsonto the endpoint, no luck]