Andres Gutierrez
01/25/2023, 11:43 AM405 Not Allowed.
This is cURL example of what I'm doing
curl -d '{"sourceDefinitionId": "MY_SOURCE_DEFINITION_ID", "workspaceId": "MY_WORKSPACE_ID_HASH" }' -H 'Authorization: Basic YWlyYnl0ZTpwYXNzd29yZA==' -H "Content-Type: application/json" -H "Accept: application/json" -X POST <http://localhost:8000/v1/source_definition_specifications/get>
Basic authentication is done as described in the docs for OSS version I think
• When authenticating to the Configuration API, you must use Basic Authentication by setting the Authentication Header to Basic and base64 encoding the username and password (which areandairbyteby default - so base64 encodingpasswordresults inairbyte:password). So the full header readsYWlyYnl0ZTpwYXNzd29yZA=='Authorization': "Basic YWlyYnl0ZTpwYXNzd29yZA=="
Andres Gutierrez
01/25/2023, 11:44 AM<html>
<head><title>405 Not Allowed</title></head><script language="javascript"\>
window.TRACKING_STRATEGY = "segment";
window.AIRBYTE_VERSION = "0.40.28";
window.API_URL = "/api/v1/";
window.CONNECTOR_BUILDER_API_URL = "/connector-builder-api";
</script>
<body>
<center><h1>405 Not Allowed</h1></center>
<hr><center>nginx/1.23.3</center>
</body>
</html>Andres Gutierrez
01/25/2023, 11:46 AMAkilesh V
01/25/2023, 12:43 PMcurl '<http://localhost:8000/api/v1/source_definition_specifications/get>' \
-H 'Accept: */*' \
-H 'Authorization: Basic YWlyYnl0ZTpwYXNzd29yZA==' \
-H 'Connection: keep-alive' \
-H 'Content-Type: application/json' \
--data-raw '{"sourceDefinitionId":"source def id","workspaceId":"workspace id"}' \
--compressed \
--insecureAkilesh V
01/25/2023, 12:47 PM/api missingAndres Gutierrez
01/25/2023, 3:02 PMAndres Gutierrez
01/25/2023, 3:08 PM/api 🙈Andres Gutierrez
01/25/2023, 3:20 PM