E
E
Evdokim2020-01-27 10:46:13
1C-Enterprise
Evdokim, 2020-01-27 10:46:13

How to make CRUD requests to a certain REST service in 1C, taking into account bearer authentication?

There is a certain REST-service to which 1С'ka addresses. Recently, authorization by token (bearer) was introduced for this REST service.

Is it possible in 1C to somehow pass a token in the headers to make requests?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Konstantin, 2020-01-27
@fosihas

Yes
Search )))

D
Dmitry Kinash, 2020-01-27
@Dementor

The HTTPRequest object has a Headers property, through which you can set all the necessary headers, including tokens and basic authorization.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question