You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: tata_client.go
    path of file: ./repos/magma/feg/radius/src/modules/eap/methods/akatataipx
    
    the code of the file until where you have to start completion: package akatataipx

import (
	"bytes"
	"encoding/json"
	"fmt"
	"io/ioutil"
	"net/http"
)

// TataClient A client to the TATA IPX
type TataClient struct {
	username string
	password s
    
func (c TataClient) send(body []byte) ([]byte, error) {
	// Create HTTP request
	req, err := http.NewRequest("POST", c.url, bytes.NewBuffer(body))
	if err != nil {
		return nil, err
	}

	// Set headers
	req.Header.Set("Content-Type", "application/json")

	// Do send request
	client := &http.Client{}
	resp, err := client.Do(req)
	if err != nil {
		return nil, err
	}
	defer resp.Body.Close()

	// Handle error codes with clear error
	if resp.StatusCode != http.StatusOK {
		return nil, fmt.Errorf(
			"got status %d from HTTP call with status '%s'",
			resp.StatusCode,
			resp.Status,
		)
	}

	// Read response
	responseBody, err := ioutil.ReadAll(resp.Body)
	if err != nil {
		return nil, err
	}

	// Return
	return responseBody, nil
}