Skip to content

Commit

Permalink
Merge pull request #93 from patterninc/hotfix/add_header_to_app_mgmt_api
Browse files Browse the repository at this point in the history
Add headers
  • Loading branch information
nitinbhakar authored Feb 6, 2025
2 parents ca80400 + f6b5fee commit 958b413
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/muffin_man/application_management/v20231130.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ def self.rotate_application_client_secret(client_id, client_secret)
client_id, client_secret)
Typhoeus.post(
"https://sellingpartnerapi-na.amazon.com/applications/2023-11-30/clientSecret",
headers: { "x-amz-access-token" => access_token }
headers: {
"x-amz-access-token" => access_token,
"Content-Type" => "application/json;charset=UTF-8"
}
)
end
end
Expand Down

0 comments on commit 958b413

Please sign in to comment.