none
OData $batch from Postman RRS feed

  • Question

  • I am using Postman to query on ASP.net Web API with OData version 4.
    I am trying to post OData batch request in postman.

    The url:

    http://localhost:52484/$batch

    Header:

    Content-Type : multipart/mixed; boundary=batch_36522ad7-fc75-4b56-8c71-56071383e77b

    Body (raw) :


    --batch_36522ad7-fc75-4b56-8c71-56071383e77b
     Content-Type: application/http
     Content-Transfer-Encoding:binary

     GET /Schools?$top=1
     Host: host   

    --batch_36522ad7-fc75-4b56-8c71-56071383e77b

    But am getting the below error:

    {
    "Message": "No HTTP resource was found that matches the request URI 'http://localhost:52484/%24batch'.",
    "MessageDetail": "No route providing a controller name was found to match request URI 'http://localhost:52484/%24batch'"
    }

    Any idea about what is missing in the request?






    Thursday, October 10, 2019 5:46 AM

Answers

  • I'm not sure if this would be the best forum to request support on Postman and I'm not sure if Technet (or Microsoft in general) has any dedicated forums for it either.

    I'd probably post this question on the official site of the developer of the Web API as they'd be the only ones to share the official documentation and sample calls on how to use the Web API.


    Friday, October 11, 2019 2:45 PM