Sends single HTTP request by GET, POST, or PUT method, and with optional deflate or zstd compression.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(rpc_request_type), | intent(inout) | :: | request |
RPC request type. |
||
type(rpc_response_type), | intent(out) | :: | response |
RPC response type. |
||
character(len=*), | intent(in), | optional | :: | url |
URL of RPC API (may include port). |
|
integer, | intent(in), | optional | :: | method |
|
|
character(len=*), | intent(inout), | optional | :: | payload |
Payload data (for POST only). |
|
character(len=*), | intent(in), | optional | :: | content_type |
Payload content type (for POST only). |
|
character(len=*), | intent(in), | optional | :: | accept |
HTTP Accept header. |
|
character(len=*), | intent(in), | optional | :: | username |
HTTP Basic Auth user name. |
|
character(len=*), | intent(in), | optional | :: | password |
HTTP Basic Auth password. |
|
character(len=*), | intent(in), | optional | :: | user_agent |
HTTP User Agent. |
|
integer, | intent(in), | optional | :: | compression |
Deflate or Zstandard compression of payload for POST requests ( |