2
web2pyremote procedure calls(即@ service.run)是否有任何開源參考來獲取信息並將其發佈到數據庫中的表中?web2py遠程過程調用是否有任何開源參考?
web2pyremote procedure calls(即@ service.run)是否有任何開源參考來獲取信息並將其發佈到數據庫中的表中?web2py遠程過程調用是否有任何開源參考?
@ service.run不是很有用,它比在其他任何事情上移植到xmlrpc或soap或jsonrpc之前測試更多。你應該爲你所問的問題使用一個寧靜的界面。例如:
db.define_table('mytable,Field('name'))
@request.restful()
def callme():
def GET(id):
return db.mytable(id)
def POST(name):
return db.mytable.insert(name=name)
return locals()
我不知道,但如果你郵寄到[郵件列表](https://groups.google.com/forum/?fromgroups&pli=1#!forum/web2py)與一些更多細節,有人可能會提供幫助。 – Anthony
我不認爲這實際上與App Engine有關,是嗎? –
我打算部署到GAE,但是,也許標籤是錯誤的。抱歉。 – John