Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

using apis in javascript

// Create a request variable and assign a new XMLHttpRequest object to it.
var request = new XMLHttpRequest()

// Open a new connection, using the GET request on the URL endpoint
request.open('GET', url, true)

request.onload = function () {
  // Begin accessing JSON data here
}

// Send request
request.send()
Source by www.taniarascia.com #
 
PREVIOUS NEXT
Tagged: #apis #javascript
ADD COMMENT
Topic
Name
9+2 =