I want to send Data from PLC to an API

Please read

Try importing the flow you just posted.

I asked for a debug, you post a flow, I can not help if you do not answer the questions and supply the info. I do not have access to the info(msg) even if i have a copy of the flow.