functional overview
Send HTTP request.
Details of Functions
Sends an HTTP request including HTTP headers to the server.
Separate the received content into a header and a body, with the header as the key "Header" and the body as the key "Body". Dictionary (associative array) The data will be stored in the
- note
- If the following argument is specified, the "dictionary to be created" will be the result.
argument (e.g. function, program, programme)URI https://www.unifinity.co.jp key value Header
key value HTTP/1.1 200 OK Server nginx Date Tue, 20 Sep 2016 09 Content-Type text/html; charset=UTF-8 Transfer-Encoding chunked Connection keep-alive link <http Set-Cookie pll_language=en; expires=Wed, 20-Sep-2017 09 X-Powered-By PleskLin MS-Author-Via Davis acids
body ...
parameter
- argument (e.g. function, program, programme)
-
URI character string data
Specifies the request URI.HTTP Methods Specifies the HTTP method. - get
- POST
- PUT
- DELETE
Transmission Parameters character string data
Specifies parameters to be added.Transmit Parameter Key numeric data character string data Date & Time Data
Specify the key of the content to be added. (additional argument)Transmission parameter value numeric data character string data Date & Time Data
Specify the value of the content to be added. (additional argument)Header Options numeric data character string data Date & Time Data
Specifies the value of the HTTP header. (additional argument)character code Specify the character code.
- UTF-8
- UTF-16LE
- UTF-16BE
- UTF-32LE
- UTF-32BE
- SHIFT-JIS
- ISO-2022-JP
- EUC-JP
- non-conversion
- multipart form data
- Any number can be added.
-
key
character string data
Specify an identifier for the server to retrieve the data, and
Yes. (additional argument)data type
character string data
To upload the data to be set in "Value" as it is, specify "Direct input". To send a file, specify a "file name". (additional argument)value character string data
Specify the data or file name to be uploaded. (additional argument)MIME type character string data
Specify the MIME type of the file to be uploaded.
If not specified, completes based on filename extensions and
Yes. (additional argument)encode Specify the encoding method for uploading files, and
Yes. (additional argument)classification contents of transmission binary No encoding (default) 8bit No encoding 7bit No encoding
Note that the file to be uploaded must have a
If 8-bit characters are included,
Returns a logic error.base64 base64 encoding quoted-printable quoted-printable encoding
- return value
-
Dictionary (associative array)
Returns the individual received content <Header/Body>.