第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機(jī)立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

關(guān)于釘釘接口使用Python,Post 500報(bào)錯

關(guān)于釘釘接口使用Python,Post 500報(bào)錯

陪伴而非守候 2019-02-20 16:41:36
我用Python來處理釘釘?shù)慕涌?現(xiàn)在遇到一個問題,get請求都是能用的,post數(shù)據(jù)就會報(bào)500錯誤 我使用的接口是(獲取用戶待審批數(shù)量)https://open-doc.dingtalk.com... 這個可以說是沒什么有歧義的地方了,post只有一個參數(shù) url = 'https://oapi.dingtalk.com/topapi/process/gettodonum?access_token=%s' % access_token data = { "userid": "manager4012" } headers = { 'Content-Type': 'application/json' } r = requests.post(url, data=json.dumps(data), headers=headers) print(r.text) 報(bào)錯: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html> <head><title>500 Internal Server Error</title></head> <body bgcolor="white"><script> with(document)with(body)with(insertBefore(createElement("script"),firstChild))setAttribute("exparams","category=&userid=&aplus&yunid=&asid=AQAACADXmhdb3r3FKQAACACKRiLMGAxPpg==",id="tb-beacon-aplus",src="http://g.alicdn.com/alilog/mlog/aplus_v2.js") </script> <h1>500 Internal Server Error</h1> <p>The server encountered an internal error or misconfiguration and was unable to complete your request.</body> headers utf-8也指定了,json字符串也轉(zhuǎn)換了 想不懂為什么會報(bào)錯,完全沒有理由500錯誤
查看完整描述

1 回答

?
阿波羅的戰(zhàn)車

TA貢獻(xiàn)1862條經(jīng)驗(yàn) 獲得超6個贊

釘釘服務(wù)器掛了,所以500錯誤,過了兩天再試,恢復(fù)了。

查看完整回答
反對 回復(fù) 2019-03-01
  • 1 回答
  • 0 關(guān)注
  • 2382 瀏覽
慕課專欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號