Skip to content

Commit

Permalink
Update ESIOS.py
Browse files Browse the repository at this point in the history
Updated the header to the new specification according to issue #3
  • Loading branch information
SanPen committed Feb 22, 2023
1 parent a05307c commit 292a2ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ESIOS.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def __get_headers__(self):
headers['Accept'] = 'application/json; application/vnd.esios-api-v1+json'
headers['Content-Type'] = 'application/json'
headers['Host'] = 'api.esios.ree.es'
headers['Authorization'] = 'Token token=\"' + self.token + '\"'
headers['x-api-key'] = self.token
headers['Cookie'] = ''
return headers

Expand Down

0 comments on commit 292a2ef

Please sign in to comment.