diff --git a/sgx-bwmsgsv2.rb b/sgx-bwmsgsv2.rb index d321b38f06b989faffa2ed138cf486d322c920dd..cf5e30e31e60962214a62ef840b0c7d180fb935f 100755 --- a/sgx-bwmsgsv2.rb +++ b/sgx-bwmsgsv2.rb @@ -824,7 +824,9 @@ module SGXbwmsgsv2 api_token, api_secret, :get, - "api/v2/users/#{user_id}/media" + "api/v2/users/#{user_id}/media", + nil, + {'Content-Type' => 'application/json'} ).then { |response| JSON.parse(response) # TODO: confirm response is array - could be empty