Skip to content

Troubleshooting / Unable to call API via POST method

There are generally the following possibilities:

1. Confusion between "Simplified" and "Standard" forms

Check if the URL and request body are correct, and avoid mixing "simplified form" with "standard form".

For more details, please refer to Manual / Development Manual / Basics / Calling Functions

2. HTTP request is redirected to an HTTPS request

Confirm whether DataFlux Func (Automata) is behind a reverse proxy server like Nginx, and whether the reverse proxy server redirects your HTTP request to an HTTPS request.

If so, then, the POST http://xxxxx you send will be redirected to a GET https://xxxxx request, and the content in the original request body will also be lost.

Changing the request to directly send POST https://xxxxx will resolve the issue.