Use Case: I need to send to a .qi file a couple kb.
The code worked a while back. Until the change to max 250 bytes (I must have missed somewhere the heads up
No problem, note.template to the rescue…
Not so I issue:
{“req”: “note.template”, “file”: “file_transfer_ntf.qi”, “verify”: true}
and get back
b’{“err”:“unknown request type: note.template”}
I send that like all others with the usual (sniplet)
token = get_token()
url = ‘https://api.notefile.net/req?product="’ + project + ‘“&device=”’ + device + ‘"’
headers = {‘Content-Type’: ‘application/json’,‘X-Session-Token’: token}
response = requests.request(“POST”, url, headers=headers, data = str_payload)
where str_payload is the command above
Am I missing something real obvious?