Problem with login #3
Replies: 3 comments 6 replies
-
Hi! I think the BeReal server is down or maybe the changed the route, I will work on it! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Where are you doing your request? I have tried on the onpage swagger api and doesnt work, but in my frontend proyect is allready working. I let you a piece of an example code curently working extrated from here: const { data, status }: { data: ApiResponse; status: number } =
await axios.post("login/send-code", {
phone: phone,
Headers: {
"Access-Control-Allow-Origin": "*", // Required for CORS support to work
cors: "*",
},
}); |
Beta Was this translation helpful? Give feedback.
5 replies
-
@khodgson2001 Let me work on it then! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, your api looks great, I would like to use it.
I am trying to send myself OTP code in postman. My url looks like this
https://berealapi.fly.dev/login/send-code?phone=+420123456789
and i keep getting 500 OTP not sent.Does anyone know what I did wrong? Do i need to add something more to my POST request?
Beta Was this translation helpful? Give feedback.
All reactions