Image or attachemnt Upload

How to upload image or file  in Telligent community and get back Url form Rest api.