Skip to content

Commit

Permalink
Add Content-Type header to etherscan request
Browse files Browse the repository at this point in the history
  • Loading branch information
feuGeneA committed Mar 2, 2022
1 parent 8d2c577 commit fd182fa
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export async function verifyContract(
const method: Dispatcher.HttpMethod = "POST";
const requestDetails = {
method,
headers: { "Content-Type": "application/x-www-form-urlencoded" },
body: parameters.toString(),
};

Expand Down

0 comments on commit fd182fa

Please sign in to comment.