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

Jump to navigation Jump to search
m
Tag: 2017 source edit
Tag: 2017 source edit
Line 31: Line 31:


==Apache setup==
==Apache setup==
There is nothing to do. If your Dolibarr is working with Apache, the REST API should also work.
There is nothing to do. If your Dolibarr is working with Apache, the REST API should also work. APIs will be served by the same virtual web server than your application.


==Nginx setup==
==Nginx setup==
Like Apache, if your Dolibarr is working inside a NGinx virtual host, you should have nothing to do to have your API working.
Like Apache, if your Dolibarr is working inside a NGinx virtual host, you should have nothing to do to have your API working. APIs will be served by the same virtual web server than your application.


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).
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).

Navigation menu