Skip to content

Send POST Request with JSONΒ #63

@e5LA

Description

@e5LA

Task

Implement a function to send a POST request with JSON body.

  • Input: URL, JSON payload
  • Output: response body as string
  • Use HttpClient (Java 11) or OkHttp
  • File: network/PostJson.kt

Update the network/README.md with a short entry.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededtype: snippetSmall, reusable Kotlin functions or expressions

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions