Skip to content

Instantly share code, notes, and snippets.

@okayshankha
Created March 7, 2021 07:47
Show Gist options
  • Save okayshankha/1275009718e874d6ba45e3f97f657427 to your computer and use it in GitHub Desktop.
Save okayshankha/1275009718e874d6ba45e3f97f657427 to your computer and use it in GitHub Desktop.
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