Instantly share code, notes, and snippets.

@jhowbhz /script.js
Last active Jun 13, 2018

Embed
What would you like to do?
exampe F7/JSON/PHP
var test1 = 'test1';
var test2 = 'test2';
app.request.get ('pagina.php', {
FIELD1: teste1,
FIELD2: test2,
}, function (data) {
JSON.parse (data) // transforms into JSON array
console.log (data); // prints on the console the return
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment