Reputation: 5
I am using the Fedex API for rating and when I try to get the response of the json I get very strange characters in the response for exmaple.
¿ m¿QO¿0¿¿> :¿ ¿¿¿¿P¿@¿¿E]¿}w¿¿o¿¿¿~w¿¿¿I¿+¿\q2'3¿¿¿y¿S6¿¿¿uz,
Co¿¿¿¿&+N. j¿¿!¿G&[J¿uR¿¿¿¿¿¿¿¿¿t<^¿iA¿1l7BKf¿¿¿`[!¿{6¿ J¿¿¿L+¿¿¿¿a`¿hp¿¿¿'¿¿¿O¿¿¿w¿¿¿¿¿¿'¿¿U/,¿]w¿`¿`¿Z!¿/a¿¿?¿9¿ ¿¿!¿<
here is my json data i am submitting
{
"accountNumber": {
"value": "24839999509"
},
"requestedShipment": {
"shipper": {
"address": {
"postalCode": 90210,
"countryCode": "US"
}
},
"recipient": {
"address": {
"residential": true,
"postalCode": "23228-3019",
"countryCode": "US"
}
},
"pickupType": "USE_SCHEDULED_PICKUP",
"serviceType": "FEDEX_GROUND",
"rateRequestType": [
"ACCOUNT",
"LIST"
],
"requestedPackageLineItems": [
{
"groupPackageCount": 1,
"weight": {
"units": "LB",
"value": 6.5
}
}
]}
}
if i remove below from the json request I get a valid json response like normal but using the flag for some reason make it have weird characters
"residential": true,
using POSTMAN with the same json data I get a valid response even with the residential flag set
Upvotes: 0
Views: 163