![](/img/trans.png)
[英]How to get Spyder to open python scripts (.py files) directly from Windows Explorer
[英]how to open api explorer bind with two py files?
这是我的app.yaml
# Endpoints handler
- url: /customer/.*
script: DimCustomerManagement.APPLICATION
- url: /user.*
script: DimUserManagement.APPLICATION
如何打开api资源管理器以检查api是否在本地正常工作?
尝试:
https://apis-explorer.appspot.com/apis-explorer/?base=https://appname.appspot.com/_ah/api
如果要在localhost上进行测试,只需将URL更改为
https://apis-explorer.appspot.com/apis-explorer/?base=http://localhost:8080/_ah/api
对于这个资源管理器将是相同的。 但是会有两个服务
创建一个单独的文件假设“ Services.py”
import endpoints
from DimCustomerManagement import name_of_endpoint_classs1
from DimUserManagement import name_of_endpoint_classs2
application = endpoints.api_server([name_of_endpoint_classs1,name_of_endpoint_classs2])
更改app.yaml
# Endpoints handler
- url: /.*
script: TechHealServices.application
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.