Check out example codes for "unity html get request". It will help you in understanding the concepts better.

Code Example 1

// Call Method Through: StartCourotine(SendRequest());

IEnumerator SendRequest() 
	UnityWebRequest request = UnityWebRequest.Get("REQUEST_URL");
	yield return request.SendWebRequest();
	if(request.isNetworkError || request.isHttpError) {
      	// Error Occurred
  	else {
      	// Response can be accessed through: request.downloadHandler.text

Learn ReactJs, React Native from