Django / piston + Silverlight,PUT / DELETE?(Django/piston + Silverlight, PUT/DELETE?)
我正在开发一个在服务器上使用Django的Silverlight项目,它使用REST API的活塞。 我知道Silverlight不支持PUT和DELETE http动词。 还有另外一种方法可以将这些命令传递给活塞吗?
I am working on a Silverlight project that uses Django on the server using piston for the REST API. I understand that Silverlight doesn't support the PUT and DELETE http verbs. Is there another way i can pass these kinds of commands to piston?
原文:https://stackoverflow.com/questions/2436996
最满意答案
我建议你在命令行上运行Wildfly,如下所示:
bin\standalone.bat -b 0.0.0.0
这将使Wildfly绑定到所有可用的接口。 对于测试,这应该是安全的 - 应该可以绑定到多个接口。 您不需要在
standalone.xml
任何更改。I would recommend that you run Wildfly on the command line with something like:
bin\standalone.bat -b 0.0.0.0
This will have Wildfly bind to all available interfaces. For testing this should be safe - it should be ok to bind to more than on interface. You will not need any changes in
standalone.xml
.
相关问答
更多-
在standalone.xml文件中,查找此元素:
port-offset属性允许您修改wildfly使用的所有端口,方法是添加您指定的数字。 例如,默认值为0 ,这意味着http端口将为8080 ,remoting 4447等。 如果您使用${jboss. ... -
解决了。 调整jvm的垃圾收集 Solved. Adjust the garbage collection of jvm
-
在您的独立版中,您必须为每个应用程序设置不同的服务器和主机。我想也许你不会删除启用站点的默认页面。 rm -f / etc / nginx / sites-enabled / default 接下来,您的nginx访问日志打开失败问题。 尝试更改日志文件路径。 access_log /var/www/newsapp/current/log/nginx.access.log; # => /var/www/newsapp/shared/log/ACCESS_LOG_FILENAME.log error_log /var/www/newsapp/current/log ...我建议你在命令行上运行Wildfly,如下所示: bin\standalone.bat -b 0.0.0.0 这将使Wildfly绑定到所有可用的接口。 对于测试,这应该是安全的 - 应该可以绑定到多个接口。 您不需要在standalone.xml任何更改。 I would recommend that you run Wildfly on the command line with something like: bin\standalone.bat -b 0.0.0.0 This will have W ...尝试这个 ports: - "8080:80" 在正确的变种docker ps应该显示在ports列中的下一个: 0.0.0.0:8080->80/tcp Turns out I was using: docker-compose run wordpress I instead needed to use: docker-compose up
无法使用端口8080访问在Raspberry Pi上运行的Jenkins(Can't access Jenkins running on a Raspberry Pi using port 8080)[2022-11-30]
如果这是真的, 我可以远程进入pi并启动Web浏览器并输入localhost:8080,它似乎工作正常。 你可以专注于防火墙/ iptables /路由/ IP配置问题,所以让我们继续这些。 假设你的Raspberry Pi有ip 192.168.0.10/24 ,你正在从同一网络上的设备访问。 火墙 你说它是不可能的,所以我们可以忘掉它。 iptables的 检查你有什么规则 iptables -L 如果有的话,冲洗所有这些以进行测试 iptables -F 路由 你在同一个网络上,所以这里不应该有问题。 ...WildFly使用指定的端口(WildFly use specified port)[2022-05-13]
您可以使用CLI更改配置,如下所示: /socket-binding-group=standard-sockets/socket-binding=management-http:write-attribute(name=port, value=19990) 或者,您可以在启动WildFly时从命令行传递所需的值: ./standalone.sh -Djboss.management.http.port=19990 You can either change the configuration using ...是的,它会起作用,因为转发是在你的机器上进行的,它看起来就好像是在80号端口。我们有一个类似的设置,它工作正常。 当然,如果防火墙非常严格,他们可能会有其他可能会干扰的阻止规则(也许它们只允许某些IP通过)。 Yes it will work, since the forwarding is done on your machine it looks to the outside as if it were on port 80. We had a similar set up and it worked ...我建议使用重写和[P]: RewriteEngine On RewriteCond %{HTTP_HOST} ^www.apisani.org$ RewriteRule (.*) http://wildfly:8080/$1 [P,L] RewriteCond %{HTTP_HOST} ^www.forum.apisani.org$ RewriteRule (.*) http://phpbb-forum-website:80/$1 [P,L] $ 1表示(。*) - >整个URI。 如果您想将其传递给 ...相关文章
更多- vicalloy的我与django
- Django资源汇总(转)
- Django下载及安装
- Haystack - Search for Django
- HttpClient PUT请求示例
- silverLight 读取服务器端文本文件显示
- Django and full-text search
- 分享:django-haystack+solr实现搜索
- 分享:django-haystack+solr实现搜索
- django-haystack+solr实现搜索
最新问答
更多- 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
- 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
- OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
- 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
- codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
- 在计算机拍照在哪里进入
- 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
- No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
- 单页应用程序:页面重新加载(Single Page Application: page reload)
- 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
- System.StackOverflow错误(System.StackOverflow error)
- KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
- 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
- android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
- TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
- 企业安全培训的各项内容
- 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
- C#类名中允许哪些字符?(What characters are allowed in C# class name?)
- NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
- 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
- 将多个行和可变行移动到列(moving multiple and variable rows to columns)
- 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
- 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
- Angular $资源不会改变方法(Angular $resource doesn't change method)
- 在Angular 5中不是一个函数(is not a function in Angular 5)
- 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
- 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
- 常见的python rpc和cli接口(Common python rpc and cli interface)
- Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
- 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)