restish
restish copied to clipboard
How to create profile without API authentication
Hi,
I'm using restish to interact with an API that supports authenticating via API keys. I have configured a profile that sets the appropriate header, but restish insists on inserting an "empty" "auth"
section in the profile configuration:
"auth": {
"name": "oauth-authorization-code",
"params": {
"authorize_url": "oauth2/authorize",
"client_id": "",
"token_url": "oauth2/token"
}
If I remove this from the configuration everything works. Is there a way to create a profile without configuring authentication information?