Curl request

$ curl 'https://api.ximilar.com/photo/search/v2/insert' -i -X POST \
    -H 'Content-Type: application/json;charset=UTF-8' \
    -H 'collection-id: mycoll_id' \
    -H 'Authorization: Token 1af538baa90-----XXX-----baf83ff24' \
    -d '{
  "fields_to_return" : [ "_id" ],
  "records" : [ {
    "_id" : "1",
    "_url" : "http://mydomain.com/img.png"
  }, {
    "_base64" : "data:image/png;base64,ABC...",
    "_id" : "2",
    "tags" : [ "label1", "label2", "label3" ]
  }, {
    "_id" : "3",
    "_url" : "http://mydomain.com/another_image.jpg",
    "any_field" : "for filtering",
    "price" : 300
  } ]
}'