Winniepoom commented on issue #8078: URL: https://github.com/apache/apisix/issues/8078#issuecomment-1275904195
``` root@apisix:/home/apisix/apisix-docker/example# curl http://192.168.32.158:9080/apisix/admin/routes/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d ' { "uri": "/apisix/batch-requests", "plugins": { "public-api": {} } }' {"action":"set","node":{"value":{"uri":"\/apisix\/batch-requests","priority":0,"plugins":{"public-api":{}},"update_time":1665568453,"id":"1","create_time":1665568361,"status":1},"key":"\/apisix\/routes\/1"}} root@apisix:/home/apisix/apisix-docker/example# 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" } ] }' <html> <head><title>404 Not Found</title></head> <body> <center><h1>404 Not Found</h1></center> <hr><center>openresty</center> </body> </html> root@apisix:/home/apisix/apisix-docker/example# ``` Sorry But still don't work for me . -- 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]
