Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

How to use Just in multipart? #105

Open
goribchat opened this issue Jun 4, 2018 · 0 comments
Open

How to use Just in multipart? #105

goribchat opened this issue Jun 4, 2018 · 0 comments

Comments

@goribchat
Copy link

I want to uplad the image file on server using swift 4.
Just.post(
"http://justiceleauge.org/member/register",data: ["username": "abc", "password":"test"],files: ["product_image" : .url(URL(fileURLWithPath: editProfile_image_path), nil)]) { r in
if r.ok { } }
but image file is not uploading. please help

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant