Set up issue. With dashboard curling. Why do I eit...
# support-questions-legacy
k
Set up issue. With dashboard curling. Why do I either get this error. This is the curl - curl --location --request POST 'url' \--header 'rid: dashboard' \--header 'api-key: apikey' \--header 'Content-Type: application/json' \--data-raw '{"email": "example@gmail.com","password": "pass"}'
r
hey @kiesker whats the full curl command?
k
curl --location --request POST 'https://st-dev-84646400-f3a1-11ee-974d-754b602925c5.aws.supertokens.io' --header 'rid: dashboard' --header 'api-key: key' --header 'Content-Type: application/json' --data-raw '{"email": "test@gmail.com","password": "password#"}'
I removed the api key
r
which OS are you using?
I think the command only works on mac / linux
but you can import it into postman
k
windows
I had it working couple of months ago. Let me try postman
Ok I did it in postman - 200 sucess reply "Hello" So i think it worked.
r
i dont think this api returns a hello. You might want to import the curl command into postman
k
Yes. I re tried it and it success and was able to login it. Thanks!