Winniepoom opened a new issue, #8078:
URL: https://github.com/apache/apisix/issues/8078

   ### Description
   
   Hello I'm Very newbie into API Gateway. So my main goal are sending 1 
request /command in to multiple services. I heard batch request might be my 
solution . I follow this [docs   
](https://apisix.apache.org/docs/apisix/plugins/batch-requests/) and always got 
404 error any idea ?
   Thank You.
   
   My Environment on Docker OS ubuntu 20.04
   - apisix dashbord 2.13
   - apisix 2.15
   - etcd 3.4.15
   - nginx 1.19.0
   
   Step to reproduce  
   
   ```
    curl http://mylocalip:9080/apisix/admin/routes/br -H 'X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
   {
       "uri": "/apisix/batch-requests",
       "plugins": {
           "public-api": {}
       }
   }'
   ```
   
   ```
   curl --location --request POST 'http://mylocalip:9080/apisix/batch-requests' 
\
   --header 'Content-Type: application/json' \
   --data '{
       "headers": {
           "Content-Type": "application/json",
           "admin-jwt":"xxxx"
       },
       "timeout": 500,
       "pipeline": [
           {
               "method": "POST",
               "path": "/community.GiftSrv/GetGifts",
               "body": "test"
           },
           {
               "method": "POST",
               "path": "/community.GiftSrv/GetGifts",
               "body": "test2"
           }
       ]
   },
   ```
   
   
   my respond
   ```
   <html>
   <head><title>404 Not Found</title></head>
   <body>
   <center><h1>404 Not Found</h1></center>
   <hr><center>openresty</center>
   </body>
   </html>
   ```
   
   
   ### Environment
   
   - APISIX version (run `apisix version`):
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to