Curl -> post -> API workflow in bubble

  1. Enabled myAPP to API WORKFLOW in settings:
  2. Define a workflow endpoint
  3. Set return data
  4. CALL endpoint from curl …

I get error "Failed to connect to post… connection refused.

why?
Thanks
Fabrizio

Solved: Need parameter -H for header.
curl -d “nome=Fabrizio&cognome=Porciani” -H “Content-Type: application/x-www-form-urlencoded” -X POST https://itosto.bubbleapps.io/version-test/api/1.1/wf/test