Different results from “Android Logcat” and “Postman” both with status 200 OK












0















I am getting different results from android logcat and postman response for the same GET request, as shown below:



Android Logcat request:



D/OkHttp: --> GET 
http://companyname.com/api/Sales/FetchOrderRequestCompetitor?
Id=5737&Type=B&CategotyId=&BrandId=&CustomerId= http/1.1
Authorization: BA5BA5DC-8147-4924-9BCA-558508
X-User-Id-1: 4J6333gM4cXhX+Rv4h7qsw==
Connection: close
--> END GET


Android Logcat Response:



Response: {"CompetitorProducts": 
[{"CompetitorId":"C13","CompetitorName":"Computer","ReturnRqst":
[{"ProductId":"3030","ProductName":"ProductA","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3054","ProductName":"Nokia(mobile)","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3030","ProductName":"ProductA","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3031","ProductName":"Product","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3054","ProductName":"Nokia(mobile)","Quantity":"","Amount":"0.00","DiscountPercentage":"0"}]},{"CompetitorId":"00LG","CompetitorName":"LG","ReturnRqst":[{"ProductId":"3030","ProductName":"ProductA","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3054","ProductName":"Nokia(mobile)","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3030","ProductName":"ProductA","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3031","ProductName":"Product","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3054","ProductName":"Nokia(mobile)","Quantity":"","Amount":"0.00","DiscountPercentage":"0"}]},{"CompetitorId":"Mobilecomp","CompetitorName":"mobileee","ReturnRqst":[{"ProductId":"3030","ProductName":"ProductA","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3054","ProductName":"Nokia(mobile)","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3030","ProductName":"ProductA","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3031","ProductName":"Product","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3054","ProductName":"Nokia(mobile)","Quantity":"","Amount":"0.00","DiscountPercentage":"0"}]}],"DefaultCustomer":"21024","IsCustomerDisplay":true,"IsAllowDateModification":false,"MonthsAllowed":[{"MonthNo":11,"MonthName":"November","StartDate":"01-11-2018","EndDate":"30-11-2018"},{"MonthNo":10,"MonthName":"October","StartDate":"01-10-2018","EndDate":"31-10-2018"},{"MonthNo":9,"MonthName":"September","StartDate":"01-09-2018","EndDate":"30-09-2018"},{"MonthNo":8,"MonthName":"August","StartDate":"01-08-2018","EndDate":"31-08-2018"},{"MonthNo":7,"MonthName":"July","StartDate":"01-07-2018","EndDate":"31-07- 2018"}],"CustomerInfo":null,"Status":"Success","error":null}


Postman Request (GET):



http://companyname.com/api/Sales/FetchOrderRequestCompetitor?Id=5737&Type=B&CategotyId=&BrandId=&CustomerId=

[{"key":"Authorization","value":"BA5BA5DC-8147-4924-9BCA-558508"},{"key":"X-User-Id-1","value":"4J6333gM4cXhX+Rv4h7qsw=="}]


Postman Response:



{
"CompetitorProducts": [
{
"CompetitorId": "C13",
"CompetitorName": "Computer",
"ReturnRqst": [
{
"ProductId": "3030",
"ProductName": "ProductA",
"Quantity": "",
"Amount": "0.00",
"DiscountPercentage": "0"
},
{
"ProductId": "3054",
"ProductName": "Nokia(mobile)",
"Quantity": "",
"Amount": "0.00",
"DiscountPercentage": "0"
}
]
},
{
"CompetitorId": "00LG",
"CompetitorName": "LG",
"ReturnRqst": [
{
"ProductId": "3030",
"ProductName": "ProductA",
"Quantity": "",
"Amount": "0.00",
"DiscountPercentage": "0"
},
{
"ProductId": "3031",
"ProductName": "Product",
"Quantity": "",
"Amount": "0.00",
"DiscountPercentage": "0"
}
]
},
{
"CompetitorId": "Mobilecomp",
"CompetitorName": "mobileee",
"ReturnRqst": [
{
"ProductId": "3054",
"ProductName": "Nokia(mobile)",
"Quantity": "",
"Amount": "0.00",
"DiscountPercentage": "0"
}
]
}
],
"DefaultCustomer": "21024",
"IsCustomerDisplay": true,
"IsAllowDateModification": false,
"MonthsAllowed": [
{
"MonthNo": 11,
"MonthName": "November",
"StartDate": "01-11-2018",
"EndDate": "30-11-2018"
},
{
"MonthNo": 10,
"MonthName": "October",
"StartDate": "01-10-2018",
"EndDate": "31-10-2018"
},
{
"MonthNo": 9,
"MonthName": "September",
"StartDate": "01-09-2018",
"EndDate": "30-09-2018"
},
{
"MonthNo": 8,
"MonthName": "August",
"StartDate": "01-08-2018",
"EndDate": "31-08-2018"
},
{
"MonthNo": 7,
"MonthName": "July",
"StartDate": "01-07-2018",
"EndDate": "31-07-2018"
}
],
"CustomerInfo": null,
"Status": "Success",
"error": null
}


Both the request look same but gives different results. Can someone help clarify this, where I am going wrong. Thanks.










share|improve this question

























  • What are difference you talking about? It looks the same response.

    – Harish Jose
    Nov 14 '18 at 5:16











  • show your code please

    – Jins Lukose
    Nov 14 '18 at 5:17











  • @Harish Jose - Responses are not same, pls check in a json comparator.

    – truespan
    Nov 14 '18 at 5:38











  • You said nothing about Authorization: BA5BA5DC-8147-4924-9BCA-558508 X-User-Id-1: 4J6333gM4cXhX+Rv4h7qsw== in postman, but showed this for Android.

    – Vladyslav Matviienko
    Nov 14 '18 at 5:41











  • @ Vladyslav Matviienko - The same "authorization code" and "user Id" is being sent for Postman and Android.

    – truespan
    Nov 14 '18 at 5:45
















0















I am getting different results from android logcat and postman response for the same GET request, as shown below:



Android Logcat request:



D/OkHttp: --> GET 
http://companyname.com/api/Sales/FetchOrderRequestCompetitor?
Id=5737&Type=B&CategotyId=&BrandId=&CustomerId= http/1.1
Authorization: BA5BA5DC-8147-4924-9BCA-558508
X-User-Id-1: 4J6333gM4cXhX+Rv4h7qsw==
Connection: close
--> END GET


Android Logcat Response:



Response: {"CompetitorProducts": 
[{"CompetitorId":"C13","CompetitorName":"Computer","ReturnRqst":
[{"ProductId":"3030","ProductName":"ProductA","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3054","ProductName":"Nokia(mobile)","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3030","ProductName":"ProductA","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3031","ProductName":"Product","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3054","ProductName":"Nokia(mobile)","Quantity":"","Amount":"0.00","DiscountPercentage":"0"}]},{"CompetitorId":"00LG","CompetitorName":"LG","ReturnRqst":[{"ProductId":"3030","ProductName":"ProductA","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3054","ProductName":"Nokia(mobile)","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3030","ProductName":"ProductA","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3031","ProductName":"Product","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3054","ProductName":"Nokia(mobile)","Quantity":"","Amount":"0.00","DiscountPercentage":"0"}]},{"CompetitorId":"Mobilecomp","CompetitorName":"mobileee","ReturnRqst":[{"ProductId":"3030","ProductName":"ProductA","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3054","ProductName":"Nokia(mobile)","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3030","ProductName":"ProductA","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3031","ProductName":"Product","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3054","ProductName":"Nokia(mobile)","Quantity":"","Amount":"0.00","DiscountPercentage":"0"}]}],"DefaultCustomer":"21024","IsCustomerDisplay":true,"IsAllowDateModification":false,"MonthsAllowed":[{"MonthNo":11,"MonthName":"November","StartDate":"01-11-2018","EndDate":"30-11-2018"},{"MonthNo":10,"MonthName":"October","StartDate":"01-10-2018","EndDate":"31-10-2018"},{"MonthNo":9,"MonthName":"September","StartDate":"01-09-2018","EndDate":"30-09-2018"},{"MonthNo":8,"MonthName":"August","StartDate":"01-08-2018","EndDate":"31-08-2018"},{"MonthNo":7,"MonthName":"July","StartDate":"01-07-2018","EndDate":"31-07- 2018"}],"CustomerInfo":null,"Status":"Success","error":null}


Postman Request (GET):



http://companyname.com/api/Sales/FetchOrderRequestCompetitor?Id=5737&Type=B&CategotyId=&BrandId=&CustomerId=

[{"key":"Authorization","value":"BA5BA5DC-8147-4924-9BCA-558508"},{"key":"X-User-Id-1","value":"4J6333gM4cXhX+Rv4h7qsw=="}]


Postman Response:



{
"CompetitorProducts": [
{
"CompetitorId": "C13",
"CompetitorName": "Computer",
"ReturnRqst": [
{
"ProductId": "3030",
"ProductName": "ProductA",
"Quantity": "",
"Amount": "0.00",
"DiscountPercentage": "0"
},
{
"ProductId": "3054",
"ProductName": "Nokia(mobile)",
"Quantity": "",
"Amount": "0.00",
"DiscountPercentage": "0"
}
]
},
{
"CompetitorId": "00LG",
"CompetitorName": "LG",
"ReturnRqst": [
{
"ProductId": "3030",
"ProductName": "ProductA",
"Quantity": "",
"Amount": "0.00",
"DiscountPercentage": "0"
},
{
"ProductId": "3031",
"ProductName": "Product",
"Quantity": "",
"Amount": "0.00",
"DiscountPercentage": "0"
}
]
},
{
"CompetitorId": "Mobilecomp",
"CompetitorName": "mobileee",
"ReturnRqst": [
{
"ProductId": "3054",
"ProductName": "Nokia(mobile)",
"Quantity": "",
"Amount": "0.00",
"DiscountPercentage": "0"
}
]
}
],
"DefaultCustomer": "21024",
"IsCustomerDisplay": true,
"IsAllowDateModification": false,
"MonthsAllowed": [
{
"MonthNo": 11,
"MonthName": "November",
"StartDate": "01-11-2018",
"EndDate": "30-11-2018"
},
{
"MonthNo": 10,
"MonthName": "October",
"StartDate": "01-10-2018",
"EndDate": "31-10-2018"
},
{
"MonthNo": 9,
"MonthName": "September",
"StartDate": "01-09-2018",
"EndDate": "30-09-2018"
},
{
"MonthNo": 8,
"MonthName": "August",
"StartDate": "01-08-2018",
"EndDate": "31-08-2018"
},
{
"MonthNo": 7,
"MonthName": "July",
"StartDate": "01-07-2018",
"EndDate": "31-07-2018"
}
],
"CustomerInfo": null,
"Status": "Success",
"error": null
}


Both the request look same but gives different results. Can someone help clarify this, where I am going wrong. Thanks.










share|improve this question

























  • What are difference you talking about? It looks the same response.

    – Harish Jose
    Nov 14 '18 at 5:16











  • show your code please

    – Jins Lukose
    Nov 14 '18 at 5:17











  • @Harish Jose - Responses are not same, pls check in a json comparator.

    – truespan
    Nov 14 '18 at 5:38











  • You said nothing about Authorization: BA5BA5DC-8147-4924-9BCA-558508 X-User-Id-1: 4J6333gM4cXhX+Rv4h7qsw== in postman, but showed this for Android.

    – Vladyslav Matviienko
    Nov 14 '18 at 5:41











  • @ Vladyslav Matviienko - The same "authorization code" and "user Id" is being sent for Postman and Android.

    – truespan
    Nov 14 '18 at 5:45














0












0








0








I am getting different results from android logcat and postman response for the same GET request, as shown below:



Android Logcat request:



D/OkHttp: --> GET 
http://companyname.com/api/Sales/FetchOrderRequestCompetitor?
Id=5737&Type=B&CategotyId=&BrandId=&CustomerId= http/1.1
Authorization: BA5BA5DC-8147-4924-9BCA-558508
X-User-Id-1: 4J6333gM4cXhX+Rv4h7qsw==
Connection: close
--> END GET


Android Logcat Response:



Response: {"CompetitorProducts": 
[{"CompetitorId":"C13","CompetitorName":"Computer","ReturnRqst":
[{"ProductId":"3030","ProductName":"ProductA","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3054","ProductName":"Nokia(mobile)","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3030","ProductName":"ProductA","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3031","ProductName":"Product","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3054","ProductName":"Nokia(mobile)","Quantity":"","Amount":"0.00","DiscountPercentage":"0"}]},{"CompetitorId":"00LG","CompetitorName":"LG","ReturnRqst":[{"ProductId":"3030","ProductName":"ProductA","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3054","ProductName":"Nokia(mobile)","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3030","ProductName":"ProductA","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3031","ProductName":"Product","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3054","ProductName":"Nokia(mobile)","Quantity":"","Amount":"0.00","DiscountPercentage":"0"}]},{"CompetitorId":"Mobilecomp","CompetitorName":"mobileee","ReturnRqst":[{"ProductId":"3030","ProductName":"ProductA","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3054","ProductName":"Nokia(mobile)","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3030","ProductName":"ProductA","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3031","ProductName":"Product","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3054","ProductName":"Nokia(mobile)","Quantity":"","Amount":"0.00","DiscountPercentage":"0"}]}],"DefaultCustomer":"21024","IsCustomerDisplay":true,"IsAllowDateModification":false,"MonthsAllowed":[{"MonthNo":11,"MonthName":"November","StartDate":"01-11-2018","EndDate":"30-11-2018"},{"MonthNo":10,"MonthName":"October","StartDate":"01-10-2018","EndDate":"31-10-2018"},{"MonthNo":9,"MonthName":"September","StartDate":"01-09-2018","EndDate":"30-09-2018"},{"MonthNo":8,"MonthName":"August","StartDate":"01-08-2018","EndDate":"31-08-2018"},{"MonthNo":7,"MonthName":"July","StartDate":"01-07-2018","EndDate":"31-07- 2018"}],"CustomerInfo":null,"Status":"Success","error":null}


Postman Request (GET):



http://companyname.com/api/Sales/FetchOrderRequestCompetitor?Id=5737&Type=B&CategotyId=&BrandId=&CustomerId=

[{"key":"Authorization","value":"BA5BA5DC-8147-4924-9BCA-558508"},{"key":"X-User-Id-1","value":"4J6333gM4cXhX+Rv4h7qsw=="}]


Postman Response:



{
"CompetitorProducts": [
{
"CompetitorId": "C13",
"CompetitorName": "Computer",
"ReturnRqst": [
{
"ProductId": "3030",
"ProductName": "ProductA",
"Quantity": "",
"Amount": "0.00",
"DiscountPercentage": "0"
},
{
"ProductId": "3054",
"ProductName": "Nokia(mobile)",
"Quantity": "",
"Amount": "0.00",
"DiscountPercentage": "0"
}
]
},
{
"CompetitorId": "00LG",
"CompetitorName": "LG",
"ReturnRqst": [
{
"ProductId": "3030",
"ProductName": "ProductA",
"Quantity": "",
"Amount": "0.00",
"DiscountPercentage": "0"
},
{
"ProductId": "3031",
"ProductName": "Product",
"Quantity": "",
"Amount": "0.00",
"DiscountPercentage": "0"
}
]
},
{
"CompetitorId": "Mobilecomp",
"CompetitorName": "mobileee",
"ReturnRqst": [
{
"ProductId": "3054",
"ProductName": "Nokia(mobile)",
"Quantity": "",
"Amount": "0.00",
"DiscountPercentage": "0"
}
]
}
],
"DefaultCustomer": "21024",
"IsCustomerDisplay": true,
"IsAllowDateModification": false,
"MonthsAllowed": [
{
"MonthNo": 11,
"MonthName": "November",
"StartDate": "01-11-2018",
"EndDate": "30-11-2018"
},
{
"MonthNo": 10,
"MonthName": "October",
"StartDate": "01-10-2018",
"EndDate": "31-10-2018"
},
{
"MonthNo": 9,
"MonthName": "September",
"StartDate": "01-09-2018",
"EndDate": "30-09-2018"
},
{
"MonthNo": 8,
"MonthName": "August",
"StartDate": "01-08-2018",
"EndDate": "31-08-2018"
},
{
"MonthNo": 7,
"MonthName": "July",
"StartDate": "01-07-2018",
"EndDate": "31-07-2018"
}
],
"CustomerInfo": null,
"Status": "Success",
"error": null
}


Both the request look same but gives different results. Can someone help clarify this, where I am going wrong. Thanks.










share|improve this question
















I am getting different results from android logcat and postman response for the same GET request, as shown below:



Android Logcat request:



D/OkHttp: --> GET 
http://companyname.com/api/Sales/FetchOrderRequestCompetitor?
Id=5737&Type=B&CategotyId=&BrandId=&CustomerId= http/1.1
Authorization: BA5BA5DC-8147-4924-9BCA-558508
X-User-Id-1: 4J6333gM4cXhX+Rv4h7qsw==
Connection: close
--> END GET


Android Logcat Response:



Response: {"CompetitorProducts": 
[{"CompetitorId":"C13","CompetitorName":"Computer","ReturnRqst":
[{"ProductId":"3030","ProductName":"ProductA","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3054","ProductName":"Nokia(mobile)","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3030","ProductName":"ProductA","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3031","ProductName":"Product","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3054","ProductName":"Nokia(mobile)","Quantity":"","Amount":"0.00","DiscountPercentage":"0"}]},{"CompetitorId":"00LG","CompetitorName":"LG","ReturnRqst":[{"ProductId":"3030","ProductName":"ProductA","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3054","ProductName":"Nokia(mobile)","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3030","ProductName":"ProductA","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3031","ProductName":"Product","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3054","ProductName":"Nokia(mobile)","Quantity":"","Amount":"0.00","DiscountPercentage":"0"}]},{"CompetitorId":"Mobilecomp","CompetitorName":"mobileee","ReturnRqst":[{"ProductId":"3030","ProductName":"ProductA","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3054","ProductName":"Nokia(mobile)","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3030","ProductName":"ProductA","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3031","ProductName":"Product","Quantity":"","Amount":"0.00","DiscountPercentage":"0"},{"ProductId":"3054","ProductName":"Nokia(mobile)","Quantity":"","Amount":"0.00","DiscountPercentage":"0"}]}],"DefaultCustomer":"21024","IsCustomerDisplay":true,"IsAllowDateModification":false,"MonthsAllowed":[{"MonthNo":11,"MonthName":"November","StartDate":"01-11-2018","EndDate":"30-11-2018"},{"MonthNo":10,"MonthName":"October","StartDate":"01-10-2018","EndDate":"31-10-2018"},{"MonthNo":9,"MonthName":"September","StartDate":"01-09-2018","EndDate":"30-09-2018"},{"MonthNo":8,"MonthName":"August","StartDate":"01-08-2018","EndDate":"31-08-2018"},{"MonthNo":7,"MonthName":"July","StartDate":"01-07-2018","EndDate":"31-07- 2018"}],"CustomerInfo":null,"Status":"Success","error":null}


Postman Request (GET):



http://companyname.com/api/Sales/FetchOrderRequestCompetitor?Id=5737&Type=B&CategotyId=&BrandId=&CustomerId=

[{"key":"Authorization","value":"BA5BA5DC-8147-4924-9BCA-558508"},{"key":"X-User-Id-1","value":"4J6333gM4cXhX+Rv4h7qsw=="}]


Postman Response:



{
"CompetitorProducts": [
{
"CompetitorId": "C13",
"CompetitorName": "Computer",
"ReturnRqst": [
{
"ProductId": "3030",
"ProductName": "ProductA",
"Quantity": "",
"Amount": "0.00",
"DiscountPercentage": "0"
},
{
"ProductId": "3054",
"ProductName": "Nokia(mobile)",
"Quantity": "",
"Amount": "0.00",
"DiscountPercentage": "0"
}
]
},
{
"CompetitorId": "00LG",
"CompetitorName": "LG",
"ReturnRqst": [
{
"ProductId": "3030",
"ProductName": "ProductA",
"Quantity": "",
"Amount": "0.00",
"DiscountPercentage": "0"
},
{
"ProductId": "3031",
"ProductName": "Product",
"Quantity": "",
"Amount": "0.00",
"DiscountPercentage": "0"
}
]
},
{
"CompetitorId": "Mobilecomp",
"CompetitorName": "mobileee",
"ReturnRqst": [
{
"ProductId": "3054",
"ProductName": "Nokia(mobile)",
"Quantity": "",
"Amount": "0.00",
"DiscountPercentage": "0"
}
]
}
],
"DefaultCustomer": "21024",
"IsCustomerDisplay": true,
"IsAllowDateModification": false,
"MonthsAllowed": [
{
"MonthNo": 11,
"MonthName": "November",
"StartDate": "01-11-2018",
"EndDate": "30-11-2018"
},
{
"MonthNo": 10,
"MonthName": "October",
"StartDate": "01-10-2018",
"EndDate": "31-10-2018"
},
{
"MonthNo": 9,
"MonthName": "September",
"StartDate": "01-09-2018",
"EndDate": "30-09-2018"
},
{
"MonthNo": 8,
"MonthName": "August",
"StartDate": "01-08-2018",
"EndDate": "31-08-2018"
},
{
"MonthNo": 7,
"MonthName": "July",
"StartDate": "01-07-2018",
"EndDate": "31-07-2018"
}
],
"CustomerInfo": null,
"Status": "Success",
"error": null
}


Both the request look same but gives different results. Can someone help clarify this, where I am going wrong. Thanks.







android json postman logcat






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 14 '18 at 5:52







truespan

















asked Nov 14 '18 at 5:12









truespantruespan

3118




3118













  • What are difference you talking about? It looks the same response.

    – Harish Jose
    Nov 14 '18 at 5:16











  • show your code please

    – Jins Lukose
    Nov 14 '18 at 5:17











  • @Harish Jose - Responses are not same, pls check in a json comparator.

    – truespan
    Nov 14 '18 at 5:38











  • You said nothing about Authorization: BA5BA5DC-8147-4924-9BCA-558508 X-User-Id-1: 4J6333gM4cXhX+Rv4h7qsw== in postman, but showed this for Android.

    – Vladyslav Matviienko
    Nov 14 '18 at 5:41











  • @ Vladyslav Matviienko - The same "authorization code" and "user Id" is being sent for Postman and Android.

    – truespan
    Nov 14 '18 at 5:45



















  • What are difference you talking about? It looks the same response.

    – Harish Jose
    Nov 14 '18 at 5:16











  • show your code please

    – Jins Lukose
    Nov 14 '18 at 5:17











  • @Harish Jose - Responses are not same, pls check in a json comparator.

    – truespan
    Nov 14 '18 at 5:38











  • You said nothing about Authorization: BA5BA5DC-8147-4924-9BCA-558508 X-User-Id-1: 4J6333gM4cXhX+Rv4h7qsw== in postman, but showed this for Android.

    – Vladyslav Matviienko
    Nov 14 '18 at 5:41











  • @ Vladyslav Matviienko - The same "authorization code" and "user Id" is being sent for Postman and Android.

    – truespan
    Nov 14 '18 at 5:45

















What are difference you talking about? It looks the same response.

– Harish Jose
Nov 14 '18 at 5:16





What are difference you talking about? It looks the same response.

– Harish Jose
Nov 14 '18 at 5:16













show your code please

– Jins Lukose
Nov 14 '18 at 5:17





show your code please

– Jins Lukose
Nov 14 '18 at 5:17













@Harish Jose - Responses are not same, pls check in a json comparator.

– truespan
Nov 14 '18 at 5:38





@Harish Jose - Responses are not same, pls check in a json comparator.

– truespan
Nov 14 '18 at 5:38













You said nothing about Authorization: BA5BA5DC-8147-4924-9BCA-558508 X-User-Id-1: 4J6333gM4cXhX+Rv4h7qsw== in postman, but showed this for Android.

– Vladyslav Matviienko
Nov 14 '18 at 5:41





You said nothing about Authorization: BA5BA5DC-8147-4924-9BCA-558508 X-User-Id-1: 4J6333gM4cXhX+Rv4h7qsw== in postman, but showed this for Android.

– Vladyslav Matviienko
Nov 14 '18 at 5:41













@ Vladyslav Matviienko - The same "authorization code" and "user Id" is being sent for Postman and Android.

– truespan
Nov 14 '18 at 5:45





@ Vladyslav Matviienko - The same "authorization code" and "user Id" is being sent for Postman and Android.

– truespan
Nov 14 '18 at 5:45












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53293559%2fdifferent-results-from-android-logcat-and-postman-both-with-status-200-ok%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53293559%2fdifferent-results-from-android-logcat-and-postman-both-with-status-200-ok%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Xamarin.iOS Cant Deploy on Iphone

Glorious Revolution

Dulmage-Mendelsohn matrix decomposition in Python