Quantcast
Viewing latest article 28
Browse Latest Browse All 1406

Error "No data passed" when request HTTP POST

I already setup sendy on my hosting and the admin dashboard works fine.

However when I try to implement HTTP API following this https://sendy.co/api, but it always got error "No data passed" on every request.

For example, this one:

curl --location --request POST 'https://mydomain.com/api/brands/get-brands.php?api_key={MY_KEY}'
--header 'Content-Type: application/x-www-form-urlencoded'
No data passed%

I'm sure that my API KEY and my domain url is correct.

Where am I wrong?


Viewing latest article 28
Browse Latest Browse All 1406

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>