Skip to content

Can we natively make a request to an external API ? #5065

Closed Locked Answered by ThiefMaster
BobSquarePants asked this question in Q&A
Discussion options

You must be logged in to vote

This is completely out of the scope of Flask. Use requests or a similar library to make outgoing requests. There is pretty much nothing in Flask (or werkzeug) that would make it logical to include an http client there...

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@BobSquarePants
Comment options

@ThiefMaster
Comment options

Answer selected by BobSquarePants
@BobSquarePants
Comment options

@davidism
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants