Forum Discussion
Hi peterlu,
Use case is:
We want to upload an attachment from component to our server that is providing us a third party api (multipart support). In that case we need to develop a component and EndPoint in lithium from where we can push our attachment.
Explanation and requirement: We want to hit our third party api via lithium EndPoint and not directly from lithium component, so our problem is how do we upload an attachment from lithium component via Endpoint to that server?
Other options: multipart approach requires form data, but if we are not using multipart then we can convert the attachment into base 64 string but in that case it exceeds its limit if the attachment is large in size.
Any help will be appreciated !
Having the same issue. Any updates on this?
Related Content
- 5 years ago
- 11 years ago