Discussion Board

Results 1 to 2 of 2

Hybrid View

  1. #1
    Registered User
    Join Date
    Jul 2014
    Posts
    1

    Exclamation Nokia MixRadio REST API - usage

    We have a ClientID and when we try to use the REST API to http://api.mixrad.io/1.x/us/?categor...t_id=CLIENT_ID from a web-browser, we're able to obtain a JSON of songs for the country.

    However, the same request through a programmatic CURL call results in the following error :
    {"statuscode":401,"type":"error","message":"API token missing or invalid"}

    What does the request specifically have to pass in its' headers ?

  2. #2
    Nokia Developer Expert
    Join Date
    Oct 2012
    Posts
    4

    Re: Nokia MixRadio REST API - usage

    Hello,

    You're able to call the API from the browser, but not curl? Are you sure you're using the same URI in both cases (especially query string contain id param)? No headers are required, and your browser wouldn't know to send them anyway.

    Matt

Similar Threads

  1. Nokia MixRadio in emulator
    By ldjones in forum Nokia MixRadio Windows Phone API
    Replies: 5
    Last Post: 2014-02-10, 13:01
  2. Consume WCF REST service in J2ME on Nokia E72
    By nokiahemant in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2011-12-08, 14:43
  3. hey nokia please return to capture://video for the rest of the S40 devices
    By sbwoodside in forum Mobile Java Media (Graphics & Sounds)
    Replies: 7
    Last Post: 2007-11-19, 03:40

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×