Updated requests API interaction.