[Python] Simplest way to consume third party API in the backend just to authenticate and...

Discussão em 'Python' iniciado por Stack, Maio 27, 2025.

  1. Stack

    Stack Membro Participativo

    I am building a simple web APP using only front-end interface and JS for logic and consume data from third party API however I hit CORS issue! So I thought a simplest way to consume the API in backend and return results to my front JS.

    so instead of :

    front-end JS fetch ---> third party API


    I need:

    front-end JS fetch ---> back-end python request ---> third party API


    Is there a way to avoid frameworks and just use pure python the APP is not designed for production now but just a show case on github the people can run locally so I do not mind about security I would rather simplify code and avoid requiring any re knowledge of frameworks and dependency (only python and requests package enough)

    I want to see examples and how other people design simliar apps

    Continue reading...

Compartilhe esta Página