Skip to content

Instantly share code, notes, and snippets.

View SecurityForUs's full-sized avatar

Eric Hansen SecurityForUs

View GitHub Profile
public Account GetAccountByUri(string account_uri)
{
Require.Argument("account_uri", account_uri);
var request = new RestRequest(Method.GET) { Resource = account_uri };
request.AddParameter("accounts", account_uri, ParameterType.UrlSegment);
return Execute<Account>(request);
}
error--------------------------------------
[friendly_html] => <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>Redirecting...</title>
<h1>Redirecting...</h1>
<p>You should be redirected automatically to target URL: <a href="https://www.balancedpayments.com/marketplaces
[01:23:00] Nitish Kumar: Balanced\Exceptions\HTTPError Object
(
[response] => Httpful\Response Object