Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-2997

202 Accepted response for odata batch requests (while sending multiple POST xml requests)

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • OData
    • None

      Hi,
      I am trying to send multiple xml inputs through odata batch in POSTMAN rest client. But i am getting 202 Accepted response and i do not see the data being reflected in the backend.

      URL- http://<host>:<port>/odata/<vdb>/<view>/$batch

      Headers:

      Content-Type:multipart/mixed
      boundary: batch

      Request Body:

      --batch
      POST /$batch HTTP/1.1
      Content-Type: multipart/mixed; boundary=changeset

      --changeset
      Content-Type: application/xml
      Content-Transfer-Encoding: binary

      POST
      Content-Type:application/xml
      Content-Length:1024

      XML INPUT-1

      --changeset
      Content-Type:application/xml
      Content-Transfer-Encoding: binary

      POST
      Content-Type:application/xml
      Content-Length:1024

      XMl Input-2

      -changeset-
      -batch-

      Please suggest.
      Thanks

            rhn-engineering-shawkins Steven Hawkins
            prashanthi_jira K Prashanthi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: