send data from arduino to firebase using sim800L

Hello everybody!

Faced a problem, when loading data into FireBase when using the SIM800L module, FireBase signs the data with a unique identifier. As far as I understand, this is related to the POST.
According to the documentation, you need to do PATCH ,
Firebase Database REST API,

curl -X PATCH -d ‘{“last”:“Jones”}’ ‘https://[PROJECT_ID].firebaseio.com/users/jack/name/.json’

But unfortunately, I do not understand how to use it.
Accordingly, the question is how to use it?

I am sending data like this:

send:  AT
answer:
AT
OK
*********************
send:  AT+CSQ
answer:
AT+CSQ
+CSQ: 14,0

OK
*********************
send:  AT+CFUN?
answer:
AT+CFUN?
+CFUN: 1

OK
*********************
send:  AT+CREG?
answer:
AT+CREG?
+CREG: 0,1

OK
*********************
GPRS_ENABLE
*********************
send:  AT+SAPBR=3,1,"Contype","GPRS"
answer:
AT+SAPBR=3,1,"Contype","GPRS"
OK
*********************
send:  AT+SAPBR=3,1,"APN",internet.sberbank-tele.com
answer:
AT+SAPBR=3,1,"APN",internet.sberbank-tele.com
OK
*********************
send:  AT+SAPBR=1,1
answer:
AT+SAPBR=1,1
OK
*********************
send:  AT+CGATT?
answer:
AT+CGATT?
+CGATT: 1

OK
*********************
send:  AT+CSQ
answer:
AT+CSQ
+CSQ: 15,0

OK
*********************
send:  AT+SAPBR=2,1
answer:
AT+SAPBR=2,1
+SAPBR: 1,1,"10.138.163.247"

OK
*********************
HTTP_ENABLE
*********************
send:  AT+HTTPINIT
answer:
AT+HTTPINIT
OK
*********************
send:  AT+HTTPSSL=1
answer:
AT+HTTPSSL=1
OK
*********************
send:  AT+HTTPPARA="CID",1
answer:
AT+HTTPPARA="CID",1
OK
*********************
send:  AT+HTTPPARA="URL","https://[PROJECT_ID].firebaseio.com/pages.json?YOUR_API"
answer:
AT+HTTPPARA="URL","https://[PROJECT_ID].firebaseio.com/pages.json?YOUR_API"
OK
*********************
send:  AT+HTTPPARA="REDIR",1
answer:
AT+HTTPPARA="REDIR",1
OK
*********************
send:  AT+HTTPPARA="CONTENT","application/json"
answer:
AT+HTTPPARA="CONTENT","application/json"
OK
*********************
send:  AT+HTTPDATA=20,10000
answer:
AT+HTTPDATA=20,10000
DOWNLOAD
*********************
send:  {"1": "2", "3": "4"}
answer:

OK
*********************
send:  AT+HTTPACTION=1
answer:
AT+HTTPACTION=1
OK
*********************
send:  AT+HTTPREAD
answer:

+HTTPACTION: 1,200,31
AT+HTTPREAD
+HTTPREAD: 31
{"name":"-M1ZQ6unnV6uP6TpWUWe"}
OK
*********************
HTTP_DISABLE
*********************
send:  AT+HTTPTERM
answer:
AT+HTTPTERM
OK
*********************
GPRS_DISABLE
*********************
send:  AT+SAPBR=0,1
answer:
AT+SAPBR=0,1
OK
*********************

Unique identificator -M1ZQ6unnV6uP6TpWUWe.

Sorry for using the translator.
Regards, Ivan

firebase.JPG

curl is a Linux command. https://www.lifewire.com/curl-definition-2184508

.

ieee488:
curl is a Linux command. https://www.lifewire.com/curl-definition-2184508
.

You are right, I googled it too.

Searching for information leads to sending data to servers using tcp / udp, but I do not know how applicable this is in my case.

Using tcp / udp, I can connect (judging by the answers of sim800l).
But beyond my knowledge is not enough. How can I find out the medod I need and correctly pack the request to download data. in particular, the procedure for filling out a request.