Hi! I am using SuperTokens core with Postgres and ...
# support-questions-legacy
c
Hi! I am using SuperTokens core with Postgres and started with the following image:
registry.supertokens.io/supertokens/supertokens-postgresql
I am not able to hit the GET session info endpoint:
/recipe/session
(GET) with the query parameter
sessionHandle
The logs show that no such endpoint exists. Following are the logs: 07 Oct 2022 19:21:46:007 +0000 | ERROR | pid: 55ea18c6-0112-4899-a3a7-0785a6643219 | [http-nio-0.0.0.0-3567-exec-10] thread | io.supertokens.webserver.api.core.NotFoundOrHelloAPI.service(NotFoundOrHelloAPI.java:57) | Unknown API called: http://127.0.0.1:3567/recipe/session/ Please help me with this
I am having this issue with the session info endpoint
r
Hmm. That’s odd. Can you send the curl command equivalent of what you are trying to query?
c
Yes here is the curl command
Copy code
curl --location --request GET 'http://127.0.0.1:3567/recipe/session/?sessionHandle=1c6e9de0-d697-43b3-a9d8-22b11b5541de' \
--header 'cdi-version: 2.16' \
--header 'rid: session' \
--header 'api-key: Akjnv3iunvsoi8=-sackjij3ncisds'
r
u might wanna remove the api-key from discord
Try without the trailing
/
That being said, I think the core should take that into account. Will release a fix sometime in the coming days
c
Its just a test environment from your docs so its not an issue
Okay I will try that Thanks
4 Views