Skip to content

Commit

Permalink
Updated postman collection
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-goldman committed Jul 6, 2023
1 parent c86621a commit e6c343f
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions Dotnetflix.postman_collection.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"info": {
"_postman_id": "a4ee5a8b-e6be-4d33-85d2-86424abaffe2",
"_postman_id": "6ae17c2b-55d5-44de-97e0-a08db9e71aed",
"name": "Dotnetflix",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "2119336"
Expand Down Expand Up @@ -28,13 +28,19 @@
"urlencoded": [
{
"key": "client_id",
"value": "device",
"value": "dotnetflix-client",
"type": "text"
},
{
"key": "scope",
"value": "dotnetflix-api profile openid offline_access",
"type": "text"
},
{
"key": "",
"value": "",
"type": "text",
"disabled": true
}
]
},
Expand Down Expand Up @@ -73,7 +79,7 @@
"urlencoded": [
{
"key": "client_id",
"value": "device",
"value": "dotnetflix-client",
"type": "text"
},
{
Expand Down Expand Up @@ -160,6 +166,18 @@
},
{
"name": "5. Get Client Credentials Token",
"event": [
{
"listen": "test",
"script": {
"exec": [
"let resp = pm.response.json();\r",
"pm.environment.set(\"access_token\", resp.access_token);"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [],
Expand Down Expand Up @@ -208,8 +226,7 @@
"listen": "test",
"script": {
"exec": [
"let resp = pm.response.json();\r",
"pm.environment.set(\"access_token\", resp.access_token);"
""
],
"type": "text/javascript"
}
Expand Down

0 comments on commit e6c343f

Please sign in to comment.