Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
The REST service methods receive files as a base64 encoded string. You can also send a regular array, the first element of which will be the file name, the second - the content in base64.
POST https://my.bitrix24.com/rest/entity.item.add.json HTTP/1.1
Host: my.bitrix24.com
Content-Length: 186
Content-Type: text/plain; charset=UTF-8
auth=xxx&ENTITY=menu&NAME=yyy&DETAIL_PICTURE[0]=1.gif&DETAIL_PICTURE[1]=R0lGODlhAQABAIAAAP%2F%2F%2FwAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw%3D%3D
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question