Update an individual flow configuration

Hi,
I'd like to update my flow remotely using the API . my issue is how I can get the changes to put it in a request body.
Thanks

Hi ridha...

You may need to explain that a bit more.

"Update my flow" is a bit vague.

Hi, I integrated node-red in my app via iframe, and node-red is deployed in another server, I used my app to send requests to the node-red server using admin API methods described in this link:
https://nodered.org/docs/api/admin/methods/
when I made changes in the iframe I need to save and deploy the changes without clicking on the deploy button. my issue is how can i get this changes .