API query using Post method
I am a novice to the patent data, and I tried to write a request post python command to query the data by referencing https://www.patentsview.org/api/patent.html
url = 'https://www.patentsview.org/api/patents/query'
r = requests.post(url, json = {"q":{"_gte":{"patent_date":"2007-01-04"}},"f":["patent_number","patent_date"]} )
I then got An HTTP status code of 400, and with the r.text returns '{"status":"error","payload":{"error":"\'q\' param is missing","code":"RQ1"}}'
Any advice for how to fix this issue? Thanks!