15 lines
279 B
Python
15 lines
279 B
Python
import requests
|
|
from config import *
|
|
|
|
url = ob_api_url+"Invoice?_where=documentNo='1001649'&_noActiveFilter=false"
|
|
|
|
payload = {}
|
|
headers = {
|
|
'Authorization': 'Basic '+userpass_b64
|
|
}
|
|
|
|
response = requests.request("GET", url, headers=headers, data=payload)
|
|
|
|
print(response.text)
|
|
|