You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

REST Adapter and HTTP 301 Moved Permanently

edited Aug 6, 2019 7:42PM in Integration 1 comment

Summary

getting 301 http code from REST adapter

Content

I am trying to use the REST adapter to download the following file to OIC:

https://www.atco.com/content/dam/web/for-business/retailer-resources/Inbox/SID_0010.zip

This is a publicly available file, there is no security in the REST adapter, the adapter is pointing to https://www.atco.com . The Rest adapter in the integration is pointing to /content/dam/web/for-business/retailer-resources/Inbox/SID_0010.zip  and receiving the response as a raw application/octet-stream . 

When I invoke the adapter it returns an error

[CDATA[GET http://www.atco.com/content/dam/web/for-business/retailer-resources/Inbox/SID_0001.zip

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!