Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for curlPostWithComplexBody (0.07 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

            |  -H 'Content-Type: application/json; charset=utf-8' \
            |  --data '{"key":"value"}'
            """.trimMargin(),
          )
      }
    
      @Test
      fun curlPostWithComplexBody() {
        val jsonBody =
          """
          |{
          |  "user": {
          |    "id": 123,
          |    "name": "Tim O'Reilly"
          |  },
          |  "roles": ["admin", "editor"],
          |  "active": true
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 24 11:36:14 GMT 2025
    - 24.4K bytes
    - Click Count (0)
Back to Top