Post API Documents with files from external source

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rgcadavos
    Junior Member
    • Jan 2017
    • 28

    #1

    Post API Documents with files from external source

    I'm using Postman (Chrome App Extension) for sending REST API requests. How can we send post request for Document with files?
    Should we upload it first to http://<espocrm_baseurl>/api/v1/Attachment/action/upload ?

    Thanks.
    Last edited by rgcadavos; 04-09-2017, 11:29 PM.
  • yuri
    EspoCRM product developer
    • Mar 2014
    • 9306

    #2
    Framework allowing implementations for external sources will be added with 4.5.0 release.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • tanya
      Senior Member
      • Jun 2014
      • 4308

      #3
      Hello
      Hello, I'm trying to upload contact's document via EspoCRM API v1. The first thing I do is send POST fields to 'api/v1/Attachment'. My POST fields look like this:

      As I know, the first method works too

      Comment

      Working...