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

Connecting to an API #14

Open
capecoder08 opened this issue Mar 3, 2017 · 1 comment
Open

Connecting to an API #14

capecoder08 opened this issue Mar 3, 2017 · 1 comment

Comments

@capecoder08
Copy link

How do I connect to an API based on the string value given in the environment config?
Trying to create a login http request for token authentication.

@betwar512
Copy link

Hi , I worked with this theme before , you can set API URL in tools/env/base.ts , than you can build you API url call by using Config.API , make sure you import { Config } from '../shared/index' in your ts file .

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