Hi
i am sending post request with credential like below to submit application
through rest api ,i am getting access exception.
request body:
{
"application-id": "application_1453371477290_0290",
"application-name": "test-rest-api",
"am-container-spec": {
"credentials": {
"secrets": {
"entry": [{
"key": "kashyaks",
"value":"xxxxxxxx" --password with base64 encode
}]
}
},
"commands": {
"command": "spark-submit --class com.hpe.wordcount.WordCount
--master yarn --deploy-mode cluster
/opt/mount2/hpefs/hpfs-ep-contract-details-1.0.0/worcount-1.0.0.jar"
}
},
"application-type": "SPARK"
}
please let me know how to send credential through request body.
--
Thanks & Regards
Ranjan Kumar Baral