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

How can I send a single string parameter? #116

@dio-brando

Description

@dio-brando

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions