Curl Calling

87 views
Skip to first unread message

Moshe Mordkovych

unread,
Jul 28, 2026, 1:34:08 PM (2 days ago) Jul 28
to Harbour Users
c:\curl\bin\curl -H "Accept=application/json&Content-Type=application/json&Host=api.disccardpromos.com&Authorization=Token *****" https://api.disccardpromos.com/v1/charge/

Gives the error

{"detail":"Authentication credentials were not provided."}

Any ideas? Thanks

lai...@paysoft.com.br

unread,
Jul 28, 2026, 9:33:34 PM (2 days ago) Jul 28
to Harbour Users
You should call it like this:

c:\curl\bin\curl  -H "Accept: application/json"  -H "Content-Type: application/json"  -H "Authorization: Token YOUR_TOKEN" https://api.disccardpromos.com/v1/charge/
Reply all
Reply to author
Forward
0 new messages