How to store http response into arduino variabe

I wrote a code to call a php and read the response from it. I am getting the response but doesn’t know how to store that value into a variable for further use. Here is the code

/*
Sketch: GPRS HTTP Test
*/
#include <gprs.h>
#include <SoftwareSerial.h>

char http_cmd[] = "GET http://connectnow.cloud/swi/call.php?id=1&q=1&code=1001 HTTP/1.0\r\n\r\n";
char buffer[512];

GPRS gprs;

void setup() {
  Serial.begin(9600);
  while(!Serial);
  Serial.println("GPRS - HTTP Connection Test...");  
  gprs.preInit();
  while(0 != gprs.init()) {
     delay(1000);
     Serial.println("init error");
  }  
  while(!gprs.join("airtelgprs.com")) {  //change "cmnet" to your own APN
      Serial.println("Error joining GPRS network");
      delay(2000);
  }
  // successful DHCP
  Serial.print("IP Address is ");
  Serial.println(gprs.getIPAddress());
  
  Serial.println("Init success, connecting to exploreembedded.com ...");
  
  if(0 == gprs.connectTCP("connectnow.cloud", 80)) {
      Serial.println("Successfully connected to exploreembedded.com!");
  }else{
      Serial.println("connect error");
      while(1);
  }

  Serial.println("waiting to fetch...");
  if(0 == gprs.sendTCPData(http_cmd))
  {      
    gprs.serialDebug();
  }
  
//  gprs.closeTCP();
//  gprs.shutTCP();
//  Serial.println("close");  
}

void loop() {    
    
}

Please help me.