Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can get issue token with cURL, Postman or SDK #32

Open
visualitnetworks opened this issue Nov 16, 2021 · 3 comments
Open

Can get issue token with cURL, Postman or SDK #32

visualitnetworks opened this issue Nov 16, 2021 · 3 comments

Comments

@visualitnetworks
Copy link

Sorry if this is not the right place but I can't find help for my problem

I'm trying to connect to ActiveCollab API but it is impossible. I tried with Postman and cURL but I'm obtain the same result:

{
  "type": "ValueError",
  "message": "DOMDocument::loadXML(): Argument #1 ($source) must not be empty",
  "code": 0
}

This is the command with the endpoint

curl -XPOST -d '[email protected]&password=XXXXXX' https://app.activecollab.com/XXXXXX/api/v1/issue-token

Any idea?

@godiez
Copy link

godiez commented Feb 8, 2023

Hi,

Try wit this:

curl --request POST \
  --url https://app.activecollab.com/api/v1/issue-token \
  --header 'Content-Type: application/json' \
  --data '{
    "username": "[email protected]",
    "password": "XXXXXX",
    "client_name": "Test App",
    "client_vendor": "Test"
}'

@bumbus
Copy link

bumbus commented Dec 30, 2024

The above does not work as well,
Same problem here, are there any solutions for that?

@bumbus
Copy link

bumbus commented Dec 30, 2024

this works for cloud version:
#35 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants