How to route to an endpoint protected with basic authentication? Error: there was a problem proxying the request

Finally get through it. Have to make changes to below bold types in API JSON. Thanks.

{
“name”:“es-h06gpu”,
“api_id”:“1”,
“org_id”:“4”,
“use_keyless”: true,
“version_data”: {
“not_versioned”: true,
“versions”: {
“Default”: {
“name”: “Default”,
“use_extended_paths”: true
}
}
},
“proxy”:{
“listen_path”:“/es-h06gpu”,
“target_url”:“https://mykibana.its.polyu.edu.hk:21013/h06-gpu-card-usage-filebeat-logstash”,
“strip_listen_path”:true,
“transport”: {
“ssl_insecure_skip_verify”: true
}

},
“active”:true,
“strip_auth_data”: false
}