When we create a fulfillment for an order using Shopify API through Altova map force mapping, we are not able to get response and API returned an error :"302 Found, Content-Type: text/html; charset=utf-8".
Is it something related to Whitelisting our Prod and Dev server IP’s. Please advise.
Please check and help on this. Please let us know any further information required in this regard. Thanks
If you're redirected when making an API call it's highly likely that you're sending your request with cookies, and you're being redirected to a front end login page.
Try the request with a minimal HTTP client like cUrl to test, or check your app code itself to verify whether this is the case.
While i am trying to POST api in Altova map force EDI server which i am using currently i got 302 issue.However, to crosscheck this, I used PostMan Online API platform and got the fulfillment create status response successfully followed by deleting cookies existed in this platform.Please find the requested detials below to investigate further
user is Aeratron
Okay. So if you're getting a 302 in your app and not Postman, that tells me that your app is somehow sending its requests with cookies. Is this a front end or a back end request? If it's a front end request, I would strongly recommend against that for security reasons and also it would possibly inherit the current client's (web browser's) cookies into its request. If it's a back end request, let me know, but you should also do some investigating into how sending these requests with cookies is possible.