Flask:Python - How to check IP address of the request
flask, python
Solution
Get the headers from Incoming Request Data and find the `REMOTE_ADDR`
Problem
Possible Duplicate: Get ip address of visitors using Python (specifically Flask micro-framework) I'm creating REST api with flask. I want to allow requests only from one (or more later on) IP addresses. How do I check for IP address in my view?