Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to send a request to a web server javascript

fetch(url).then(response => {
	  return response.json(); //you can use other things like .text() to get different parts of the returned packet
	}).then(json => {
		finalOutput = json;
	})
 
PREVIOUS NEXT
Tagged: #send #request #web #server #javascript
ADD COMMENT
Topic
Name
9+2 =