Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70435

HTTP POST upload image

$
0
0

@kusza wrote:

Hi, is it possible to make something like this in ionic?

POST https://api.profit365.eu/1.3/storage/documents

Authorization: Basic *** hidden credentials ***
ClientID: C7A36D…
ClientSecret: j7896WnI0U1…
CompanyID: CCA256B…
Content-Type: multipart/form-data; boundary=---------------------------7843256783465987324658743
Content-Length: 834
------------------------------7843256783465987324658743
Content-Disposition: form-data; name=“document”; filename=“docDTO”; Content-Type: application/json;

{
“ownerID”: “9782a2b8-effb-4111-aa27-325f3a99a43b”,
“documentName” : “general license agreement”
}

------------------------------7843256783465987324658743
Content-Disposition: form-data; name=“file”; filename=“some_picture.png”; Content-Type: application/png;

… content of some_picture.png …

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>