code: def test_json_post_body(canned_write_client):
      response = canned_write_client.post(
          "/data/add_name",
          body=json.dumps({"name": ["Hello", "there"]}),
      )
      assert 302 == response.status
      assert "/data/add_name?success" == response.headers["Location"]
      rows = canned_write_client.get(
          "/data/names.json?_shape=array"
      ).json
      assert rows == [{"rowid": 1, "name": "['Hello', 'there']"}]
  
imports: from bs4 import BeautifulSoup
  import json
  import pytest
  import re
  from .fixtures import make_app_client, app_client
label_desc: Use image node_id 13 for calling a global function with example usage: test_json_post_body(canned_write_client) without return types