Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use API #3

Open
agusnavce opened this issue Feb 14, 2018 · 1 comment
Open

Can't use API #3

agusnavce opened this issue Feb 14, 2018 · 1 comment
Assignees

Comments

@agusnavce
Copy link

I am trying to use the API. When I get the hash, I can't seem to do much more. Is Documentation ok?

@jeka-kiselyov
Copy link
Owner

You are right, it's outdated.

Based on https://github.com/jeka-kiselyov/dimeshift/blob/e74e9d239ce41a80bacb0f8ea3277dd120efb3c9/includes/api.js we need to use cookie with name 'logged_in_user' to set auth code for requests.

Check out how it works here: https://github.com/jeka-kiselyov/dimeshift/blob/e74e9d239ce41a80bacb0f8ea3277dd120efb3c9/includes/routes/users/signin.js

Get auth hash: https://dimeshift.docs.apiary.io/#reference/users/sign-in/sign-in

I will update docs. Thank you.

@jeka-kiselyov jeka-kiselyov self-assigned this Feb 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants