[
https://issues.apache.org/jira/browse/AIRFLOW-4071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ash Berlin-Taylor resolved AIRFLOW-4071.
----------------------------------------
Resolution: Duplicate
> 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
> Priority: Major
>
> 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)