Winniepoom commented on issue #8078: URL: https://github.com/apache/apisix/issues/8078#issuecomment-1275865024
When I try to reproduce like you I got another error "404 Route Nit Found"  > root@apisix:/home/apisix# curl http://192.168.32.158:9080/apisix/admin/routes/br -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d ' > > { > > "uri": "/batch-requests", > > "plugins": { > > "public-api": { > > "uri": "/apisix/batch-requests" > > } > > } > > }' > {"node":{"key":"\/apisix\/routes\/br","value":{"plugins":{"public-api":{"uri":"\/apisix\/batch-requests"}},"update_time":1665566648,"id":"br","uri":"\/batch-requests","priority":0,"status":1,"create_time":1665566648}},"action":"set"} > root@apisix:/home/apisix# curl --location --request POST 'http://192.168.32.158: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" > > } > > ] > > }' > {"error_msg":"404 Route Not Found"} > root@apisix:/home/apisix# -- 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]
