Created
March 7, 2021 07:47
-
-
Save okayshankha/1275009718e874d6ba45e3f97f657427 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { environment } from 'src/environments/environment' | |
export const endpoints = { | |
request: { | |
GetAuthToken: { | |
method: 'post', | |
url: '/oauth/token', | |
token: { | |
is_needed: true, | |
type: 'Basic' | |
}, | |
header: { | |
'ContentType': 'application/x-www-form-urlencoded' | |
} | |
}, | |
Register:{ | |
method: 'post', | |
url: '/register', | |
token: { | |
is_needed: true, | |
type: 'Basic' | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment