Read Five Entries from private channel in json format no working
Mostrar comentarios más antiguos
Hi Team
I have this Ajax call request, it seem it does not working on my button to download date range, Strange part when i access this URL directly from the browser it can download this file format as CVS file on my local computer, Any idea as to why am i not able to get this write? Kindly please help, thanks. https://nl.mathworks.com/help/thingspeak/readdata.html
$(document).ready(function() {
$("#download").click(function() {
$.ajax({
url:'https://www.thingspeak.com/channels/899906/feeds.csv?api_key=F**&results=3',
type:'POST',
dataType:'json',
success:function(response){
window.location = response;
}
});
});
});
Respuesta aceptada
Más respuestas (0)
Comunidades de usuarios
Más respuestas en ThingSpeak Community
Categorías
Más información sobre JSON Format en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!