I have loopback 3 APIs hosted on DigitalOcean. I also have an API to upload images and store filesystem. My datasource settings are
"MediaFiles": {
"name": "MediaFiles",
"connector": "loopback-component-storage",
"provider": "filesystem",
"root": "./uploads"
}
I have created a container named is profile.
When I'm trying to upload images to this container using REST Client (Postman) by POSTing to API End Point
http://example.com/api/attachments/profile/upload
The image uploads but API is not responding it stop the server without log any error. And the Postman shows me Could Not Get Any Response. When I'm doing the same on Localhost it working perfectly.
Please help me, I waste more than a week on this issue.
via Kalim ul Haq
No comments:
Post a Comment