Can't connect to webservice

Any issue about Cyclos 4 scripting and Webservices

Moderators: hugo, alexandre, rmvanarkel

Post Reply
Abetterworld
Posts: 44
Joined: Wed Jul 16, 2014 9:09 am

Can't connect to webservice

Post by Abetterworld »

I've enabled the web services in the configuration but somehow I can't get it to work.
When we visit our domain/rest/general we get a 404 error.

Code: Select all

The requested URL domain.nl//rest/general was not found on this server.
How can we solve this because we need access to the web services.
rmvanarkel
Posts: 245
Joined: Tue Oct 05, 2010 1:14 pm

Re: Can't connect to webservice

Post by rmvanarkel »

To answer you question I have first two questions, can you please check them:
1) What version of Cyclos are you using?
2) I assume you are using Cyclos 4 PRO, are you using the Cyclos 4 PRO documentation (http://www.cyclos.org/documentation > http://documentation.cyclos.org/4.3/cyc ... /ch02.html)?
Abetterworld
Posts: 44
Joined: Wed Jul 16, 2014 9:09 am

Re: Can't connect to webservice

Post by Abetterworld »

Hi,

We are using Cyclos 4 PRO. We use the documentation, followed all the steps, but somehow we still can't connect to the API. Are we doing something wrong?

Kind regards.
rmvanarkel
Posts: 245
Joined: Tue Oct 05, 2010 1:14 pm

Re: Can't connect to webservice

Post by rmvanarkel »

If you try to connect to domain/rest/general you are using the incorrect documentation (the Cyclos 3 documentation). In Cyclos 4 it is:
<domain>/<network>/web-rpc/<xxxService>

That's why I asked you to verify in point 2 of my last answer to see if you where using this documentation.
Post Reply