I am trying to do something a little unorthodox and am having difficulty finding the correct solution. Here is the ask #1:I have a python script that scrapes data off a website and converts it to JSON. I would like to take this JSON data and update a Custom Content Type database (wp\_jet\_cct\_named\_items) on my WordPress website using a REST API POST request.
Ask #2, if this ask #1 is possible, then how would this look in python, and how would authorization work.
Edit: I found out how to access the endpoint, however the application password I created for my user isn’t working
https://preview.redd.it/7oc6k33gz95c1.png?width=1441&format=png&auto=webp&s=f043e54b4da3c4c2f6db88f8f77c44359b7ac4b2
https://preview.redd.it/urg3lik9z95c1.png?width=630&format=png&auto=webp&s=2709ada8ddc296f0d408d2d462fb49c77c20b0ec
[ad_2]