how to create requests by end user in javascript use rest api?


  • Sebastiaan Wijchers
    Comment actions Permalink

    Hello Jason,

    Did you check what '' and 'API_TOKEN' contain? Seems like the right way to authorize as end user.

    Don't know how your solution is put together, but it will be easy to figure out your API token if this code is client side. In that case you might want to look at anonymous requests:

    With kind regards,

    Sparkly ⭐

  • Jason Jeong
    Comment actions Permalink

    Hello sebastiaan

    I'm solved this issue

    The solutions are as follows
    1. Get user auth token using users/me.json api
    2. Set user auth token in http request header from 1

    Thank for your reply


Please sign in to leave a comment.

Powered by Zendesk