및 파이썬/cherrypy 서버, 어디에 내 실수 jQuery를/AJAX
@cherrypy.tools.json_out()
@cherrypy.tools.json_in()
def get_data(self):
cherrypy.response.headers['Content-Type'] = 'application/json'
datas = {"ABCDEF"}
return datas
와 Cherrypy 서버에서 JSON 데이터 가져 오기 그러나 나는 내부 서버 오류 (500)를 얻을? 서버에 데이터를 게시하는 작업이 있지만 데이터를 가져 오는 것이 내 문제입니다 ..
매우 감사합니다, 내가 줄을 잊어 버렸어 : @ cherrypy.expose – mostworld77