You shouldn't post the auth
value here - it works like a username and password.
this post was submitted on 17 Jul 2023
13 points (88.2% liked)
Lemmy Support
4651 readers
9 users here now
Support / questions about Lemmy.
founded 5 years ago
MODERATORS
It was the dummy, anyhow removed
He meant remove it from the post, anyone can use it to make requests to your server lol
do you have thought on this post?
The guy below was right. Your hitting the wrong url. If that didn’t fix it, it’s probably your postman set up. Does curl work? Ex:
curl -i -H
"Content-Type: application/json"
-X POST
-d '{
"auth": "you key",
"name": "some name",
"title": "some name"
}'
https://someurl.com/api/v3/community
It works thanks!
From what it looks like, you're calling on /community/create
, the API docs show it's just /community
.
thanks, @jamie but unfortunately it is also not working
view more: next ›