ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

How to get the image file via REST API?



I am currently developing a desktop in Java for our company. I’m trying to display employee details whenever an employee is clicked in the application. I can display everything (name, id, etc) except for the image which only returns a directory whenever I use a GET request. Example: {“name”: “Name N. Name”, “image”: “files/image.jpg”}. I’m trying to get the image itself to display the image on the application. Is this possible? Thanks in advance!