You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Nehaa Vishwakarma (JIRA)" <ji...@apache.org> on 2019/03/11 23:24:00 UTC
[jira] [Created] (AIRFLOW-4071) Not able query via rest API
Nehaa Vishwakarma created AIRFLOW-4071:
------------------------------------------
Summary: Not able query via rest API
Key: AIRFLOW-4071
URL: https://issues.apache.org/jira/browse/AIRFLOW-4071
Project: Apache Airflow
Issue Type: Bug
Components: api
Reporter: Nehaa Vishwakarma
I am using curl to query from API and using command below:
curl -X GET 'http://localhost:8083/api/experimental/dags/xcom_test1.0/dag_runs'
it gives me below
{code:java}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>405 Method Not Allowed</title>
<h1>Method Not Allowed</h1>
<p>The method is not allowed for the requested URL.</p>
{code}
Where as when I query for other api's as below
{code}
curl -X GET http://localhost:8083/api/experimental/dags/<dag_id>/tasks/<task_id>
{code}
I get the response
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)