title: Python POST (using requests) returns status code 200 but object is not created
body: <p>I am trying to run a Python script in order to process several POST requests (in order to create users for a system) using an array of user names. Everything seems to go smoothly and status code 200 is returned for every POST. However, the users themselves are not being created successfully after I check the system. I just want to check to see if my code is correct here:</p>
  
  <pre><code>user_list = []
  user_names = open("Master_User_List.txt")
  for line in user_names.readlines():
      user_list.extend(line.split())
  user_names.close()
  
  user_list = set(map(str, user_list))
  
  
  auth_code = raw_input("please enter your authorization code: ")
  
  user_names = user_list
  
  for user in tqdm(user_names):
  
      url = "https://api.example.com/user?cost_id1234" 
  
      header = {"Authorization": auth_code}
  
      data_set = {"user": {"name":"bob123","code":null,"code2":null}}
  
      new_post = requests.post(url, headers=header, data=data_set)
  
      print new_post.status_code
  </code></pre>
  
  <p>Thanks.</p>