Tradehub.Network.Testnet.request-exclamation-mark
You're seeing just the function
request-exclamation-mark
, go back to Tradehub.Network.Testnet module for more information.
Link to this function
request!(method, url, body \\ "", headers \\ [], options \\ [])
Specs
request!(method(), binary(), any(), headers(), Keyword.t()) :: HTTPoison.Response.t() | HTTPoison.AsyncResponse.t() | HTTPoison.MaybeRedirect.t()
Issues an HTTP request with the given method to the given url, raising an exception in case of failure.
request!/5
works exactly like request/5
but it returns just the
response in case of a successful request, raising an exception in case the
request fails.