Interface for
new_requestfunction.
This function create a request_type object and populates it.
The function returns the response_type object containing the
server's response.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | url |
Specifies the |
||
| integer, | intent(in), | optional | :: | method |
Specifies the HTTP |
|
| type(pair_type), | intent(in), | optional | :: | header(:) |
Specifies the request |
|
| character(len=*), | intent(in), | optional | :: | data |
Specifies the |
|
| type(pair_type), | intent(in), | optional | :: | form(:) |
Specifies the |
|
| type(pair_type), | intent(in), | optional | :: | file |
Specifies the |
|
| integer, | intent(in), | optional | :: | timeout |
|
|
| type(pair_type), | intent(in), | optional | :: | auth |
stores the |
Stores the server's response.