Discussions

Ask a Question
Back to All

how to get a token for a user as authentication in php codeigniter

(edited)

how to implement rewards in php using codeigniter ? Do you have some demo code so please provide with a flow understanding . Thanks in advance

trying this on scrimmage site to test :

curl --request POST  
     --url <https://nevada.apps.scrimmage.co/api/integrations/users>  
     --header 'Authorization: Token AY1pZVYV..<truncated>..Pjgjyh6'  
     --header 'accept: application/json'  
     --header 'content-type: application/json'  
     --header 'scrimmage-namespace: staging'  
     --data '{"id":"100"}'

registered mail :

[email protected]

UPD: Token removed by admin for security reason