• Hmm,

    this is how far I get with your code and without a key

    Got response: 200
    Invalid api_key: apikey
    Uncaught SyntaxError: Expecting a valid value, got ID
     at line 1 col 24
    Invalid api_key: apikey
                           ^
    in function called from system
    
  • Have you checked via desktop node.js or your microcontroller?

    Oh, finally I've found my mistake, current result:

    =undefined
    Got response: 200
    {"count":1,"results":[{"num_favorers":34­,"include_dispute_form_link":false}],
    Uncaught SyntaxError: Got EOF expected '}'
     at line 1 col 78
    ...dispute_form_link":false}],
                                  ^
    in function called from system
    {"count":1,"results":[{"num_favorers":34­,"include_dispute_form_link":false}],"pa­rams":{"shop_id":"FoxyGami"},"type":"Sho­p","pagination":{}}
    34
    

    Now I can receive what I want. Just don't know why it always shows such messages:

    {"count":1,"results":[{"num_favorers":34­,"include_dispute_form_link":false}],
    Uncaught SyntaxError: Got EOF expected '}'
     at line 1 col 78
    ...dispute_form_link":false}],
                                  ^
    in function called from system
    

    In node.js is just:

    Got response: 200
    {"count":1,"results":[{"num_favorers":34­,"include_dispute_form_link":false}],"pa­rams":{"shop_id":"FoxyGami"},"type":"Sho­p","pagination":{}}
    34
    
About

Avatar for Hansi @Hansi started