It would be nice if there was a function like this:
HTTPipe.Conn.new(%HTTPipe.Request{})
Example of how I am doing it now:
req = %HTTPipe.Request{
method: :post,
url: "/cloud/project/#{service_name}/user/#{user_id}/regeneratePassword"
}
Map.put(HTTPipe.Conn.new(), :request, req)
Would be nice if I could
%HTTPipe.Request{
method: :post,
url: "/cloud/project/#{service_name}/user/#{user_id}/regeneratePassword"
}
|> HTTPipe.Conn.new()
It would be nice if there was a function like this:
Example of how I am doing it now:
Would be nice if I could