생활
밴드 오픈 Api에서 글쓰기 요청을 어떻게 하나요?
def post(u,d): try: headers = {'Content-Type': 'application/json'} res = requests.post(u, data=d) except Exception as e: print("Error : " + e) return res post("https://openapi.band.us/v2.2/band/post/create", {"access_token" : preset["token"], "band_key" : bandlst[i][1], "content" : preset["data"]}).json())자꾸 Unauth 에러가 나네요...
혹시 코드에 잘못된 점 있나요?
Access Token은 문제 없는데...
1개의 답변이 있어요!