如何在Web中写入文本并从Web上读取标签 [英] How do I write into a text in web and read a label from the web

查看:122
本文介绍了如何在Web中写入文本并从Web上读取标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在我的C #Windows窗体应用程序中计算某些函数的积分,函数可以是任何例如X ^ 2或2的激进。我已经决定将该函数提供给积分计算器网站( http://www.integral-calculator.com [ ^ ]或 http://integrals.wolfram.com/index.jsp [ ^ ]或 http://www.wolframalpha.com/input/?i=integrate+x%5E2 [ ^ ])并阅读他们的回答。

所以我需要的是在上面的一个站点中写入该功能按下按钮并从中读取答案。我怎么能这样做?

I need to calculate Integral of some function in my C# Windows Form application, Function could be anything for example X^2 or radical of 2. i have decided to give the function to Integral calculator website (http://www.integral-calculator.com[^] or http://integrals.wolfram.com/index.jsp [^] or http://www.wolframalpha.com/input/?i=integrate+x%5E2[^]) and read the answer from them.
so what i need is to write the function in one of site above press the button and read the answer from them. How can i do that?

推荐答案

很好的问题,但问题是该网站没有API。您通常使用HTTP API发送请求并获取请求的响应。除此之外,由于CORS,您更有可能将请求的状态取消; 跨域资源共享



但是有一件事你可以做,在网站的最后,作者分享了他的电子邮件地址。您可以联系他询问方法,他可能会为您(以及其他具有相同意见和需求的开发人员)创建API。然后你可以用一些表达式向网站发送请求并获得结果。
Good question, but the thing is that there is no API for the website. You usually use an HTTP API to send requests and get responses for the request. Apart from this, you are more likely to get your request's status CANCELLED because of CORS; cross-origion resource sharing.

There is however one thing that you can do, at the end of the website author has shared his email address. You can contact him to ask for a way, he might create an API for you (and other developers with same opinion and need). Then you can send requests to the website with some expression and get the results.


这篇关于如何在Web中写入文本并从Web上读取标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆