Answer the question
In order to leave comments, you need to log in
Exchange site data with 1s online?
There is a site on wordpress. The site is located on a server that has access to the VPN network, through which it can communicate with a remote server on which 1s is located.
The task is the following. When a user requests certain information on the site, wordpress must contact 1c via VPN to receive this information and display it to the user.
Is it possible to implement this? If so, tell me where you can read about it?
And what are the means of accessing the site to 1s.
I found info that 1c can send http requests, but I didn’t find info about the fact that it can receive them.
Is there a way to send POST-GET requests from the site in 1s first?
Answer the question
In order to leave comments, you need to log in
Starting from version 8.3.5 there are already two possibilities:
v8.1c.ru/o7/201312rest - does not require programming in 1C
v8.1c.ru/o7/201312http - requires programming on the configuration side
In the latest versions of 1C there is such an opportunity.
1cprogrammistu.ru/60-sozdanie-web-servisa-v-1s-pre...
But you need to remember that in 1C it is customary not to use fresh features in active production. You never know what vulnerabilities in the new one. Depending on what data you need, I would advise you to do with crutches for now:
If your 1C uses a SQL database, you can simply create your own API that will return the desired report from the database.
You can periodically generate static html pages on 1C.
On 1C, you can periodically generate the data necessary for the site in a separate table.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question