An api address has a limit on the number of requests from a fixed ip address. Which of the following methods can I use php to request this api address? An api address has a limit on the number of requests from a fixed ip address. Which of the following methods can I use php to request this api address?
Reply content:
An api address has a limit on the number of requests from a fixed ip address. Which of the following methods can I use php to request this api address?
The ip address cannot be forged except the proxy. You can use redis to record the number of calls.
Use the proxy ip address to limit the number of requests at the root
Some APIs obtain the IP address from several http headers, and some are the headers used by the proxy.
Can I use this to simulate myself as a proxy?
Http://segmentfault.com/q/1010000002990136/a-1020000003024763