See bitmagnet's import endpoint documentation for more information.
sqlite3 -json -batch database.sqlite3 "$(cat magnetico-import.sql)" |
jq -r --indent 0 '.[]' |
curl --verbose -H "Content-Type: application/json" -H "Connection: close" --data-binary @- http://localhost:3333/import