-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
10e95b2
commit accd2dc
Showing
1 changed file
with
22 additions
and
4 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,11 +6,13 @@ Authorization: Basic {{$dotenv btp_clientid}}:{{$dotenv btp_clientsecret}} | |
Content-Type: application/x-www-form-urlencoded | ||
|
||
grant_type=password | ||
&username={{$dotenv username}} | ||
&password={{$dotenv password}} | ||
#&username={{$dotenv username}} | ||
#&password={{$dotenv password}} | ||
&username={{$dotenv username_ias}} | ||
&password={{$dotenv password_ias}} | ||
&client_id={{$dotenv btp_clientid}} | ||
&response_type=token | ||
#&login_hint={"origin":"sap.custom"} | ||
&login_hint={"origin":"sap.custom"} | ||
### Fill Variables from Response | ||
@access_token = {{requestAccessToken.response.body.$.access_token}} | ||
### | ||
|
@@ -40,4 +42,20 @@ GET {{$dotenv server}}/api/sendmail | |
?destination=inbucket_direct | ||
&from=[email protected] | ||
&to=[email protected] | ||
Authorization: Bearer {{access_token}} | ||
Authorization: Bearer {{access_token}} | ||
### | ||
GET {{$dotenv approuter_url}}/sap/opu/odata/SAP/EPM_REF_APPS_SHOP_SRV/ | ||
Authorization: Bearer {{access_token}} | ||
Accept: application/json | ||
### | ||
GET {{$dotenv approuter_url}}/sap/opu/odata/SAP/EPM_REF_APPS_SHOP_SRV/MainCategories | ||
Authorization: Bearer {{access_token}} | ||
Accept: application/json | ||
### | ||
GET {{$dotenv approuter_url}}/sap/opu/odata/SAP/EPM_REF_APPS_SHOP_SRV/Products | ||
?$top=10 | ||
&$inlinecount=allpages | ||
&$filter=MainCategoryId eq 'Meeting %26 Presenting' | ||
&$orderby=StockQuantity desc | ||
Authorization: Bearer {{access_token}} | ||
Accept: application/json |