Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
HTTP - HTTP によるデータ取得のためのパッケージ
使い方
HTTP[command](arguments)
command(arguments)
説明
HTTP パッケージは、HTTP クライアントのためのコマンド一式を含みます。これは、HTTP 標準を部分的にしか実装していません。例えば、現在では持続的な接続はサポートされていません。
HTTP パッケージコマンドのアクセス
HTTP パッケージの各コマンドは、呼び出しシーケンスにおいて 原形 または 短縮形 のコマンド名が利用できます。
HTTP パッケージはモジュールとして実装されているため、パッケージのコマンドを HTTP:-command という形式でも利用できます。詳細は、モジュールのメンバー をご覧ください。
HTTP パッケージコマンド一覧
HTTP パッケージでは、次のコマンドが利用できます。
Code
Form
Get
Post
URLDecode
URLEncode
URLParse
特定の HTTP コマンドのヘルプページを表示するには、パッケージのコマンドのヘルプを表示する をご覧ください。
互換性
HTTP パッケージは Maple 15 より導入されています。
Maple 15 の変更点についての詳細は、Maple 15 の更新情報 をご覧ください。
例
with(HTTP):
URLEncode コマンドを用いれば、文字列内の英数字以外の文字を置き換えることができます。
URLEncode("Hello world!");
result := Get("http://www.maplesoft.com/"):
Code(result[1]);
参照
HTTP/Code, HTTP/Get, HTTP/Post, HTTP/URLDecode, HTTP/URLEncode, HTTP/URLParse
参考文献
RFC 2612, Hypertext Transfer Protocol -- HTTP/1.1, http://tools.ietf.org/html/rfc2616
Download Help Document