Adding 'local.settings.json' file configured with the following CORS setting to my Azure Function API project resolved the issue for me:
{
"Values": {
},
"Host": {
"CORS": "*"
}
}
The following SO answer helped me (https://stackoverflow.com/a/60109518/443971).