Troubleshooting / Unable to Call API via POST Method
Generally, there are the following possibilities:
1. Confusion between "Simplified" and "Standard" Forms
Check if the URL and request body are correct, and avoid mixing "Simplified Form" and "Standard Form."
For details, please refer to the Guide / Development Guide / Basics / Calling Functions
2. HTTP Request Redirected to HTTPS Request
Confirm if DataFlux Func is behind a reverse proxy server like Nginx, and if the reverse proxy server redirects your HTTP request to an HTTPS request.
If so, your POST http://xxxxx
will be redirected to GET https://xxxxx
, and the content in the original request body will be lost.
Changing the request to directly send POST https://xxxxx
will solve the problem.