Hi! I created my own Flask server for AMI, and it;s work fine. I authorize connection using request signature, but when i want add those AMI as a URL page or use it in internal resource section it’s start to use GET insteed POST. And problem is that I cannot find any signature ofr that type of request, so it’s impossible for me to authorize connection, any ideas??
Depends if you use a light payload
:
What happens when a user clicks on the AMI?
Flow Production Tracking dispatches a POST request in a new window, or in a modal dialog if that option was selected, and sends along data from the current page (as part of the POST request) to the receiving URL. Here’s an example of the workflow.
Light payload
When using custom protocols, the query information is sent as a GET request. Certain operating system and browser combinations have varying limitations of the size of the GET request they allow. We suggest enabling the light payload checkbox on custom protocol AMIs. With light payload checked, your script will receive a single event log entry ID that it can fetch to get the full payload from by reading the ami_payload
key of the record’s meta
field.
Can i find any info how I can do that in Python Flask? There is info about that for "Post " method but i cannot find any info about “GET”
Something like this coudl work, don’t forget there is ChatGPT these days that may help you learn new things