S
S
Sergey2021-02-19 12:52:45
Bitrix24
Sergey, 2021-02-19 12:52:45

Is it possible to make requests to two Bitrix24 at once?

Good afternoon.

Tell me, is it possible to make requests from the script to two different Bitrix24 at once through the Rest API?
I have a task: in one B24 there is a sign by which you need to select data from another B24.

I tried to connect 2 files with the rest api, so that they would not be confused, I renamed the class, but it does not work

Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Nikolaev, 2021-02-20
@oldzas

Is it possible to make requests to two Bitrix24 at once?

What is a "rest request"? This is a normal HTTP request to a specific URI with access data.
Therefore, I answer your question: you can make almost immediately (there will still be a delay, albeit a small one) requests even to several Bitrix24.
I tried to connect 2 files with the rest api, so that they would not be confused, I renamed the class, but it does not work

If you are talking about the CRest library that is officially supported by Bitrix, then it does not provide for the execution of requests to different Bitrix24.
You still have to refine it.
By the way, not a single library out of the box provides you with such opportunities.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question