Skip to content

Commit 434faed

Browse files
Update Example-Postman.postman_collection.json
1 parent f682fff commit 434faed

File tree

1 file changed

+78
-0
lines changed

1 file changed

+78
-0
lines changed

Example-Postman.postman_collection.json

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2312,6 +2312,84 @@
23122312
}
23132313
},
23142314
"response": []
2315+
},
2316+
{
2317+
"name": "3.0 Domestic Prices - Letter Rates",
2318+
"event": [
2319+
{
2320+
"listen": "test",
2321+
"script": {
2322+
"exec": [
2323+
"pm.test(\"Status code is 200\", function () {\r",
2324+
" pm.response.to.have.status(200);\r",
2325+
"});"
2326+
],
2327+
"type": "text/javascript"
2328+
}
2329+
}
2330+
],
2331+
"protocolProfileBehavior": {
2332+
"disableCookies": true
2333+
},
2334+
"request": {
2335+
"auth": {
2336+
"type": "oauth2",
2337+
"oauth2": [
2338+
{
2339+
"key": "tokenType",
2340+
"value": "",
2341+
"type": "string"
2342+
},
2343+
{
2344+
"key": "accessToken",
2345+
"value": "{{token}}",
2346+
"type": "string"
2347+
},
2348+
{
2349+
"key": "client_authentication",
2350+
"value": "body",
2351+
"type": "string"
2352+
},
2353+
{
2354+
"key": "tokenName",
2355+
"value": "",
2356+
"type": "string"
2357+
},
2358+
{
2359+
"key": "addTokenTo",
2360+
"value": "header",
2361+
"type": "string"
2362+
}
2363+
]
2364+
},
2365+
"method": "POST",
2366+
"header": [],
2367+
"body": {
2368+
"mode": "raw",
2369+
"raw": "{\r\n \"weight\": 3.5,\r\n \"length\": 4.0,\r\n \"height\": 5.0,\r\n \"thickness\": 0.25,\r\n \"processingCategory\": \"LETTERS\",\r\n \"mailingDate\": \"2023-11-29\",\r\n \"nonMachinableIndicators\": {\r\n \"isPolybagged\": true,\r\n \"hasClosureDevices\": true,\r\n \"hasLooseItems\": true,\r\n \"isRigid\": true,\r\n \"isSelfMailer\": true,\r\n \"isBooklet\": true\r\n }\r\n}",
2370+
"options": {
2371+
"raw": {
2372+
"language": "json"
2373+
}
2374+
}
2375+
},
2376+
"url": {
2377+
"raw": "https://api.usps.com/prices/v3/letter-rates/search",
2378+
"protocol": "https",
2379+
"host": [
2380+
"api",
2381+
"usps",
2382+
"com"
2383+
],
2384+
"path": [
2385+
"prices",
2386+
"v3",
2387+
"letter-rates",
2388+
"search"
2389+
]
2390+
}
2391+
},
2392+
"response": []
23152393
}
23162394
]
23172395
},

0 commit comments

Comments
 (0)