api
api copied to clipboard
Need Help: Create a task and get u'{"error":"bad_request"}'
hi guys, i want post a request for create a task it's my code
access_token="MY TOKEN"
client_ID= "My CID"
h= {'X-Access-Token': access_token, 'Content-Type': 'application/json', 'X-Client-ID': client_ID}
da = {'title': 'TEST APP', 'list_id': -330478059}
r=requests.post("https://a.wunderlist.com/api/v1/tasks", headers=h, data=json.dumps(da))
but i get "bad request"
why ? please help me ! thank you
is your list_id wrong?
no it work after i reset my system ! ## why ?# i don't know !
thank you