The subject of invention is the use of a flexible capillary for the sensor detecting biologically active molecules, characterized in that the capillary (1) is a structural element of the fibre-optic probe and the optical fibre is freely placed inside it (2).