Added a s after http and changed a var name so the server can interpet it correctly
This commit is contained in:
@@ -17,7 +17,7 @@ const get = ( url, params ) => request( url, params, 'GET' );
|
||||
|
||||
// SQL test
|
||||
function sendata(naam, score) {
|
||||
get( 'http://oege.ie.hva.nl/~hossan/GetData.php', { naam: naam, score: score } )
|
||||
get('https://oege.ie.hva.nl/~hossan/GetData.php', { name: naam, score: score } )
|
||||
.then( response => {
|
||||
// Do something with response.
|
||||
} );
|
||||
|
Reference in New Issue
Block a user