Module Web Services API REST (developer): Difference between revisions

Jump to navigation Jump to search
m
(→‎Nginx setup: fix formatting)
Tag: 2017 source edit
Line 29: Line 29:


A list of APIs on your installation can be found via the explorer.
A list of APIs on your installation can be found via the explorer.
==Apache setup==
There is nothing to do. If your Dolibarr is working with Apache, the REST API should also work.


==Nginx setup==
==Nginx setup==
This is a simple localhost setup with a working REST API handling (tested with 9.0.1 on parabola gnu/linux).
Like Apache, if your Dolibarr is working inside a NGinx virtual host, you should have nothing to do to have your API working.
 
If you experience troubles, you can try to edit your NGinx config file to match the following example. This is a simple localhost setup with a working REST API handling (tested with 9.0.1 on parabola gnu/linux).
<source language="nginx">
<source language="nginx">
worker_processes  1;
worker_processes  1;

Navigation menu