Dpm lacks the upload-dar command

The legacy Daml Assistant had an upload-dar command. The new Daml Package Manager does not. The migration docs say:

Use Declarative API – OR – JSON / gRPC API

Can you give me an example?

From How to upload a DAR archive file:

curl --data-binary @.daml/dist/mymodel-1.0.0.dar http://localhost:7575/v2/packages