Discord - A New Way to Chat with Friends & Communities

1 Like

Hey @everyone I have this file, program.py which contained pyTeal program and main.py which contained my APIs, I want to run program.py when API is called but i get this error when running API

{
  "detail": "Method Not Allowed"
}

can i get help on how i can fix that or how can i create API for PyTeal using FastAPI.

Which Discord server did you post to?
Can you show your code? (minimum code exhibiting the issue with the token replace by xxx)
Which API endpoint did you use?
If using PureStake, did you check the examples on their website?

1 Like