Expand my Community achievements bar.

unnikrishnanv18
unnikrishnanv18
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • $base64_code = base64_encode($client_id.":".$client_secret); $ch = curl_init(); $request_headers = array();$request_headers[] = 'Content-Type: application/x-www-form-urlencoded';$request_headers[] = 'Accept: application/json';$request_headers[] = 'Authorization: Basic '.$base64_code;$data_to_post = ...

    Type

    Questions

    Views

    4.1K

    Likes

    0

    Replies

    0
  • Hey Razai,I used a PHP script and was able to get an auth token by setting the mentioned headers. You'll need to check with your dev team to troubleshoot the custom jQuery script by comparing both the requests to identify which parameter or header is missing or wrongly set. Cheers,Unni

    Type

    Questions

    Views

    4.1K

    Likes

    0

    Replies

    0
  • The auth token request needs to be made against https://api.demdex.com/oauth/token  if the user credentials are for the production account.

    Type

    Questions

    Views

    4.1K

    Likes

    0

    Replies

    0
  • Hello Razai,Can you please give a sample request with dummy data (please use dummy values for user or account specific information)? Regards,Unni

    Type

    Questions

    Views

    4.1K

    Likes

    0

    Replies

    0