Created
August 2, 2016 16:40
-
-
Save ScottNeaves/3d6b21adad84ae5c6d75451782c71b8c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
INFO:ordoro_requests.core:========== Request POST https://api-sandbox.pitneybowes.com/shippingservices/v1/rates?includeDeliveryCommitment=True ========== | |
INFO:ordoro_requests.core:Headers: {'Connection': 'keep-alive', 'X-PB-TransactionId': '1470153978', 'Accept-Encoding': 'gzip, deflate', 'Content-Length': '650', 'Authorization': 'Bearer lAssraRCfL3GJFL704RNT1cFnZaZ', 'User-Agent': 'python-requests/2.10.0', 'Content-Type': 'application/json', 'Accept': 'application/json', 'X-PB-Shipper-Rate-Plan': 'PP_SRP_NEWBLUE'} | |
DEBUG:ordoro_requests.core:Body: {"parcel": {"weight": {"weight": 14.0, "unitOfMeasurement": "OZ"}, "dimension": {"height": 7, "length": 8, "width": 3, "unitOfMeasurement": "IN"}}, "shipmentOptions": [], "rates": [{"specialServices": [{"specialServiceId": "DelCon"}], "parcelType": "PKG", "serviceId": "PM", "inductionPostalCode": "95110", "carrier": "USPS"}], "toAddress": {"addressLines": ["1 Infinite Loop"], "cityTown": "Cupertino", "stateProvince": "CA", "name": "Apple", "countryCode": "US", "postalCode": "95014"}, "fromAddress": {"addressLines": ["345 Park Avenue"], "cityTown": "San Jose", "stateProvince": "CA", "name": "Adobe", "countryCode": "US", "postalCode": "95110"}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment