Try the fastest and simplest way to install ONLYOFFICE

API Authentication 404 error in Community Edition

Integration questions/issues

API Authentication 404 error in Community Edition

Postby heiligerstein » Thu Sep 22, 2016 6:07 pm

I'm using Community Edition installed throuth HyperV VM Image and I can't call /api/2.0/authentication.json

My host is 10.9.3.42 and I've tried with browser

http://10.9.3.42/api/2.0/authentication
http://10.9.3.42/api/2.0/authentication.json

curl --header "POST /api/2.0/authentication.json HTTP/1.1" --header "Host: 10.9.3.42" --header "Accept: application/json" --header "Accept-Encoding: gzip, deflate" --header "userName=test&password=test123" http://10.9.3.42/

I tried to follow this doc and nothing work for me.

https://api.onlyoffice.com/portals/auth

Is api authentication feature not available for Community Version? If it's true, I think is better disable all features in community once we couldn't use anything else.

Could anyone help me?
heiligerstein
 
Posts: 1
Joined: Thu Sep 22, 2016 5:57 pm

Re: API Authentication 404 error in Community Edition

Postby Eugenie » Tue Sep 27, 2016 2:54 pm

Hello,

Please use the follow
curl --request POST --form "username=test" --form "password=test123" http://10.9.3.42/api/2.0/authentication
Eugenie
 
Posts: 134
Joined: Mon Aug 25, 2014 10:11 am


Return to API

Who is online

Users browsing this forum: Bing [Bot] and 2 guests

cron