I want to create two custom API, both REST and SOAP that will return a CSV or XML from the media folder. Please don't ask why!

Is even possible to return a file in Magento API because I didn't find anything on the internet and I don't want to start developing the functionality and after hours of work to figure out that is not possible. Do I have to make something specific in API files like api2.xml, wsdl.xml...?

Thank You!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.