How to pass on username

Hi, I need to produce the equivalent of this curl command with Postman.
curl -X POST ‘https://domain.url/v1/property.list
-H “Content-Type: application/json”

When I use Basic Auth and enter the API_KEY into the username, Postman produces however this code:
curl --location --request POST ‘https://domain.url/v1/property.list
–header ‘Content-Type: application/json’
–header 'Authorization: Basic ’

I couldn’t find any info on if the curl option -u plain_text_username is the equivalent to --header 'Authorization: Basic '. Any thoughts about this or any thoughts about how to make Postman use the -u option?

It looks like the Code Generator for cURL code does not include all header options. You can see a list of options it can create here. I would recommend opening up an Issue on the GitHub repo to expand the Code Generator, or if you are technically savvy, contribute to the code base yourself!