Skip to content

Commit

Permalink
Use POST instead of GET
Browse files Browse the repository at this point in the history
Re: [aws/aws-sdk-net] Modify CloudSearch Search to use POST instead of GET (aws#900)
  • Loading branch information
joel-cass committed Apr 30, 2022
1 parent ee7cb07 commit adfa52e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public IRequest Marshall(SearchRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.CloudSearchDomain");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2013-01-01";
request.HttpMethod = "GET";
request.HttpMethod = "POST";

request.AddSubResource("format", "sdk");
request.AddSubResource("pretty", "true");
Expand Down Expand Up @@ -126,4 +126,4 @@ public static SearchRequestMarshaller Instance
}

}
}
}

0 comments on commit adfa52e

Please sign in to comment.