This is found working with post man., with following python script it keeps showing the error.
--------------SCRIPT-------------------
import requests
API_URL_LISTS = “https://thirdrepublic.api-us1.com/api/3/contactLists?api_key=<<<>>>>”
response = requests.request(“PUT”, API_URL_LISTS, data=’{ “contactList”: { “list”: 1, “contact”: 439, “status”: 1 } }’)
print(response.text)
-------------------RESULTS---------------------
[root@master-node live]# python test.py
{“message”:“No Result found for SubscriberList with id 0”}
AC Support claims that it is working as it is working with postman. I am not able to figure out what is the problem with above script!
I am using same script to implement other APIs and found working.