I have no experience working with ajax . I am stuck with a problem where i want a button to post form data to url (API) which gives json response as :
{
"employee": {
"name": "sonoo",
"salary": 56000,
"married": true
}
}
Now pressing submit button should give an option to download above json resposne to excel ? Can anybody please help or guide me what should i learn to solve this ?