Before any application integration, the right first step with a new PDF fill API is a curl call. It removes every layer that could fail for a reason unrelated to the API itself: the SDK install, the language runtime, the network library, the framework. If the curl call returns a valid PDF, the API works. If it does not, the failure mode is unambiguous.
That same call also doubles as the canonical reference for whatever language wrapper comes next. The Node.js fetch, the Python requests.post, the Go http.Post — all of them are encoding the same HTTPS POST that the curl call already proved out. Starting with curl shortens debugging in every later language binding.