-
Notifications
You must be signed in to change notification settings - Fork 10
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
Calling API from launchpad vscode documentation #1989
Conversation
- Tokens stored in 'Cookie' header | ||
- raw Body in json for details | ||
|
||
An example for login would have `https://portal.dev.platform.genesis.global/workspace/<<WORKSPACE_ID>>/proxy/9064/event-login-auth` url. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
drop .dev
}' | ||
``` | ||
|
||
#### Proxy url |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Application url
``` | ||
|
||
#### Proxy url | ||
To send requests to the application in the VSCode environment, you need the proxy url. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
application
4. use this as the base of your request | ||
|
||
#### Tokens | ||
There are 2 tokens you will need to extract from launchpad. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why two?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
because it works without the first short token, have you gotten it to wok with one?
|
||
4. use this as the base of your request | ||
|
||
#### Tokens |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Request headers
4. use this as the base of your request | ||
|
||
#### Tokens | ||
There are 2 tokens you will need to extract from launchpad. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets also briefly explains here what this mena,s as this is to allow secure authentication to your app...
4. Go to cookies in the sidebar and open the cookies for the website | ||
|
||
There should be AWSELBAuthSessionCookie-0, AWSELBAuthSessionCookie-1. | ||
You will be putting this in your requests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
requests headers
@@ -499,6 +499,99 @@ To run any of these: | |||
| `Start Server` | Starts all the App's Server processes. | | |||
| `Start UI System Design Configurator`| Starts the Design Configurator. You must be on Foundation-UI 14.213.0 or later to use this. | | |||
|
|||
## Sending api requests | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggested structure:
Getting the required data
(move the content here)
ATTENTION! NEW DOCS STRUCTURE
FOR THE NEXT THREE WEEKS, ONLY BRANCH FROM new-docs-structure
OTHERWISE, WAIT UNTIL THE NEW STRUCTURE HAS BEEN RELEASED
Adding section on sending API requests that covers requirements, how to get requirements and samples on using curl and postman to send API requests.
Thank you for contributing to the documentation.
Do the changes you have made apply to both Current and Previous versions?
Have you done a trial build to check all new or changed links?
Is there anything else you would like us to know?
This week's exciting advice from the style guide
Write your headings in sentence case:
This is a correct heading.
This is not a correct heading.