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ā€™
-u API_KEY:
-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!