-
Notifications
You must be signed in to change notification settings - Fork 95
Closed
Labels
V3OData V3OData V3duplicateThis issue or pull request already existsThis issue or pull request already exists
Description
Hello, I was trying to login on SAP B1 but I'm always getting an error 'Authorization header not found'. Here is my code
import pyodata
import requests
SERVICE_URL=https://192.168.xx.xx:50000/b1s/v1
s = requests.Session()
s.verify = False
s.post(service_url+'/Login', headers={
"CompanyDB": SAPDEMO,
"Password": mypassword,
"UserName": myusername
})
client = pyodata.Client(SERVICE_URL, s)
print(client)
Metadata
Metadata
Assignees
Labels
V3OData V3OData V3duplicateThis issue or pull request already existsThis issue or pull request already exists