<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>APIs on Mohseen</title><link>https://www.mohseen.dev/tags/apis/</link><description>Recent content in APIs on Mohseen</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 30 Nov 2021 14:30:23 -0800</lastBuildDate><atom:link href="https://www.mohseen.dev/tags/apis/index.xml" rel="self" type="application/rss+xml"/><item><title>Enabling Airflow API</title><link>https://www.mohseen.dev/post/2021-11-30-enabling-airflow-api/</link><pubDate>Tue, 30 Nov 2021 14:30:23 -0800</pubDate><guid>https://www.mohseen.dev/post/2021-11-30-enabling-airflow-api/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Hey folks, previously I wrote a blog post about &lt;a href="https://www.mohseen.dev/post/2021-11-17-airflow-cron-on-steroids/"&gt;how to setup Airflow&lt;/a&gt; and how it can streamline data pipelines and a great replacement for cron tasks.&lt;/p&gt;
&lt;p&gt;In this post I&amp;rsquo;ll go over how to enable their api to trigger dags through nodes vs manually or scheduled runs.&lt;/p&gt;
&lt;p&gt;By default after installing Airflow, the api is disabled for all requests. From &lt;a href="https://airflow.apache.org/docs/apache-airflow/stable/security/api.html#disable-authentication"&gt;Airflow docs&lt;/a&gt;, a few apis are experimental and need additional security like basic auth or only accept requests from trusted ips.&lt;/p&gt;</description></item><item><title>Bypass IP based Rate Limits for Public APIs</title><link>https://www.mohseen.dev/post/2021-11-15-bypass-ip-based-rate-limits/</link><pubDate>Mon, 15 Nov 2021 13:13:02 -0800</pubDate><guid>https://www.mohseen.dev/post/2021-11-15-bypass-ip-based-rate-limits/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Hello! if you have been using a few public apis that rate limit your requests, this blog post might be able to help you bypass restrictions and help mask your requests using free proxies. Warning, please be aware this uses free proxies for making requests, please use more reliable proxy services or different retry methods before using in a production environment. That being said, hope this helps you if you are being blocked by you location and would need a reliable way to bypass rate limits.&lt;/p&gt;</description></item></channel></rss>