Your second cUrl request looks a bit strange for two reasons:
A valid NGSI-v2 POST request looks something like:
curl -L -X POST 'http://localhost:1026/v2/entities/'
-H 'Content-Type: application/json'
--data-raw '{
Body Goes HERE
}'
Your image contains the headers Content-Length=aux
and Content-Type: multipart/form-data
and the -d
element is not quoted.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…