diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 605afd271..9a8700c6f 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -2018,7 +2018,7 @@ uint32_t get_stockprices()//std::vector symbols) { char url[32768]; cJSON *json,*obj; uint32_t high,low,price = 0; sprintf(url,"https://api.iextrading.com/1.0/tops/last?symbols=AAPL"); - if ( (json= get_urljson(url)) != 0 ) + if ( (json= send_curl(url,(char *)"iex")) != 0 ) //if ( (json= get_urljson(url)) != 0 ) { fprintf(stderr,"%s -> %s\n",url,jprint(json,0)); free_json(json);