Pet Store Demo
    Pet Store Demo
    • 🐶 Walk through Apidog
    • Sample APIs
      • Deletes a pet
        DELETE
    • Find pet by ID
      GET
    • Finds Pets by status
      GET
    • Add a new pet to the store
      POST
    • Update an existing pet
      PUT
    • Pet User ID
      GET
    • API-Token
      GET
    • Apidog Echo
      GET
    • sayHello
      POST
    • New Request
      GET
    • Weather
      GET

      sayHello

      POST
      /SayHello/

      Request

      Header Params
      Content-Type
      string 
      required
      Example:
      text/xml; charset=utf-8
      SOAPAction
      string 
      required
      Example:
      sayHello
      Body Params application/xml
      object {0}
      Example
      <?xml version="1.0" encoding="utf-8"?>
      <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
        <soap:Body>
          <SayHelloRequest>
            <firstName>string</firstName>
          </SayHelloRequest>
        </soap:Body>
      </soap:Envelope>
      

      Request samples

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST '/SayHello/' \
      --header 'SOAPAction: sayHello' \
      --header 'Content-Type: text/xml; charset=utf-8' \
      --data-raw '<?xml version="1.0" encoding="utf-8"?>
      <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
        <soap:Body>
          <SayHelloRequest>
            <firstName>string</firstName>
          </SayHelloRequest>
        </soap:Body>
      </soap:Envelope>'

      Responses

      🟢200sayHello response
      application/xml
      Body
      object {0}
      Example
      <?xml version="1.0" encoding="utf-8"?>
      <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
        <soap:Body>
          <SayHelloResponse>
            <greeting>string</greeting>
          </SayHelloResponse>
        </soap:Body>
      </soap:Envelope>
      
      Previous
      Apidog Echo
      Next
      New Request
      Built with