Nikola Gavric
04/24/2019, 1:39 PMvar response = <http://https.post|https.post>({
url: "<url>",
body: body,
headers: {
"Content-Type": "application/json",
"Authorization": "Basic XXXXXXXXXXXXXXXXXXXXX"
}
});
Where body is this:
var body = {
"manufacturerCode": "3",
"code": "D21025139",
"variantPartNos": [
"D21025139_19034_89",
"D21025139_19035_89"
],
"flag": "STATUS_READY"
};
The same request in Postman works fine..battk
04/24/2019, 1:49 PMbattk
04/24/2019, 1:49 PMNikola Gavric
04/24/2019, 1:51 PMscottvonduhn
04/24/2019, 1:52 PMscottvonduhn
04/24/2019, 1:54 PMNikola Gavric
04/24/2019, 1:54 PMscottvonduhn
04/24/2019, 1:55 PMNikola Gavric
04/24/2019, 1:57 PM