Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API not working #125

Open
codeit13 opened this issue Nov 11, 2023 · 1 comment
Open

API not working #125

codeit13 opened this issue Nov 11, 2023 · 1 comment

Comments

@codeit13
Copy link

When I try to send a post request to the API endpoint from my AWS server, it doesn't works and gives me 403 Forbidden, where same piece of code works fine in my local enviourment. Can you please help?

@aldy505
Copy link
Member

aldy505 commented Nov 12, 2023

Hello! Our hosted Graphene server is running behind a Cloudflare proxy. We don't return any 403 status as seen from the source code. We also do have a Telegram bot (running on a cloud VM) but we don't encounter such issues. You can see the code here https://github.com/teknologi-umum/bot/blob/0970fd115c7a229a2369b2dc65a2e33d32e6c67d/src/services/snap/utils.js#L30-L52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants