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

How can I send a single string parameter? #116

Open
dio-brando opened this issue Dec 24, 2018 · 0 comments
Open

How can I send a single string parameter? #116

dio-brando opened this issue Dec 24, 2018 · 0 comments

Comments

@dio-brando
Copy link

Hello, Im a Korean android developer and new with swift4.

I need to post a url as restful api, and it takes parameter as a single string body that is encrypted like 'QlDlLNnhk6N81QfAXfTVT09Z5UOHO/uzXax26Z4bp5U='.

It will be decrypted as a JSON string like { "id": "abc", "pwd":"1234" }, so i cannot put just data:[ key : value ].

Is there any way to send single string? or should i find another http library?

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