Getting 405 when trying to make a POST request to the com.atproto.server.createSession endpoint #2572
-
Hey all, really love what you are building here. I was starting to explore the API a bit, and I wanted to get an auth token so I could start poking around and maybe find some way to contribute. I created an app password and tried to use the curl -L 'https://public.api.bsky.app/xrpc/com.atproto.server.createSession' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{"identifier": "gvasquez.dev", "password": "$APP_PASSWORD"}' I can post the error if you want, but it's just HTML with a body of |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You need to make that call against your account's PDS, ie either |
Beta Was this translation helpful? Give feedback.
You need to make that call against your account's PDS, ie either
bsky.social
or the specific PDS in your DID doc'sserviceEndpoint
field, not against the AppView.