Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant