You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "ighack (Jira)" <ji...@apache.org> on 2021/07/22 09:30:00 UTC
[jira] [Commented] (ATLAS-4366) How do I use API
[ https://issues.apache.org/jira/browse/ATLAS-4366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17385374#comment-17385374 ]
ighack commented on ATLAS-4366:
-------------------------------
curl -u jztwk:123456 -X GET --header 'Content-Type: application/json;charset=UTF-8' '[http://bigdser4:22222/api/atlas/v2/search/basic?typeName=hive_db&query=default'|http://bigdser4:22222/api/atlas/v2/search/basic?typeName=hive_db&query=default%27]
I get nothing
> How do I use API
> ----------------
>
> Key: ATLAS-4366
> URL: https://issues.apache.org/jira/browse/ATLAS-4366
> Project: Atlas
> Issue Type: Task
> Components: atlas-webui
> Affects Versions: 2.1.0
> Reporter: ighack
> Priority: Major
>
> I enable HA
> if I run API without cookie I get
> "
> Error 401 Full authentication is required to access this resource
> "
> in applicaion I get
> "Not active. Redirecting to [http://bigdser5:22222/api/atlas/v2/search/basic] (ActiveServerFilter:172)"
>
> but I run API with cookie,I get result
>
> How can I login with API and get cookie
--
This message was sent by Atlassian Jira
(v8.3.4#803005)