Quantcast
Channel: Sendy Forum
Viewing all articles
Browse latest Browse all 1406

Error "No data passed" when request HTTP POST

$
0
0

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 all articles
Browse latest Browse all 1406

Trending Articles