<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create(self, data):
 """ Create a user. Please review the attributes required. You need only provide the attributes. :param data: A dictionary of the required attributes :return: Dictionary returned by server or a ServerError exception :rtype: Dictionary or Exception """

        final_dict = {"data": {"type": "users", "attributes": data}}
        r = requests.post(self.apiurl + "/users", json=final_dict, headers=self.header)

        if r.status_code != 200:
            raise ServerError

        return r.json()