kevinhongzl commented on PR #51055:
URL: https://github.com/apache/airflow/pull/51055#issuecomment-2916550591

   > Actually I think something is wrong with the toaster, see bellow, 
connection failed, but we show `200`, that's confusing.
   
   Yeah. It confused me as well, but that's how our api currently works. 
   
   The test connection API returns `200` with a boolean status, `true` for 
successfully creating a connection and `false` for connection error. However, 
there are also `401`, `403`, and `422` repsonses.... I can't figure out how 
this was designed from the docs, so I simply present information retrieved with 
toasters. 
   
   
https://airflow.apache.org/docs/apache-airflow/stable/stable-rest-api-ref.html#operation/test_connection


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to