HTTPClient Help (How to "assemble" URI)?

@LukeUSMC, since the objects will be instantiated dynamically, you might want to write http_header_t headers[3] = { ... } instead, otherwise you’ll get a zero length array.

Or you declare it static

class Thing
{
  private:
  //Private functions
  //bool parse();
  //Private variables
  uint8_t thingNum;
  http_request_t request;
  http_response_t response;
  // Headers currently need to be set at init, useful for API keys etc.

  static http_header_t headers[]; 

public:
  Thing();
  void update();
  
  HttpClient thingWeb;
  
};

and initialize in the .cpp

http_header_t Thing::headers[] = {
      { "Accept" , "*/*" },
      { "Authorization" , "Basic Base64EncodedUser:Pass" },
      { NULL, NULL }
};