according to my (solved) question i have a general question:how is the
using of this api call / the workflow? (i only have the json api
documentation file) login -> getting session id (needed for further
calls and logout)fileupload -> getting submiss...
after login and getting session id i will upload an 1,5 MB file with the
following code: def sendSmallFile(file_content_as_base64, file_name):
print("try to send small file to sandbox") print(f"start of base64
content: {file_content_as_base64[:100]}"...
i try to login via a python script, after some struggeling with the
certificates i get a return code 200.but when i try to parse the return
value it's not a json object (or structure) it's html. login-request and
check response: response = requests.p...
sorry, maybe it's a misunderstanding. i make an request to a URL
loginURL = "https://fortisand-api.our-donain.com/"the login-data (from
the FortiSandbox-4.4.3-JSON-API Reference):login_data = { "method":
"exec", "params": [ { # "url": "/sys/login/use...