mcdcorp / opentest

Open source test automation tool for web applications, mobile apps and APIs
https://getopentest.org
MIT License
452 stars 108 forks source link

Opentest RestApi with XML #533

Closed ahsiu34 closed 2 years ago

ahsiu34 commented 2 years ago

Hi , instead of json, can i use xml with Opentest Does Post call work with XML format too ?

- description: Send a request to create a new blog post
        action: org.getopentest.actions.HttpRequest
        args:
          url: https://jsonplaceholder.typicode.com/posts
          headers:
            Content-Type: application/json
          verb: POST
          body: |
            $json(
              {
                id: postId,
                title: "My fist post"
              }
            )
ahsiu34 commented 2 years ago

works now