javascript - Create json file using blob - Stack Overflow
https://stackoverflow.com/questions/26158468/create-json-file-using-blob
WEBOct 2, 2014 · I have written json code in string and i want to send it using xmlhttp as .json file. Is it possible to do it with blob? var cleanScript = { 'type': 'script', 'api_key': api_key, 'data': data, 'inputs': inputs, 'timeoutSeconds': timeoutSeconds }; var jsonse = JSON.stringify(cleanScript, null, 2);
DA: 26 PA: 4 MOZ Rank: 48