apisix
apisix copied to clipboard
request help: how to validates the requests by user
Issue description
how to validates the requests by user
for example, User A post URL with body
cpu_load_short,host=server01,USER=A value=0.64 1434055562000000006
(influxdb tag)
body must with USER=A not B
Environment
- apisix version (cmd:
apisix version):2.0 - OS:docker
I do not understand your question very well, can you provide more detail? @cverdela
for example, User A post xxxURL with body
cpu_load_short,host=server01,**USER=A** value=0.64 1434055562000000006
IF User B post URL with body
cpu_load_short,host=server01,**USER=A** value=0.64 1434055562000000006
should be error(because A<>B)
@cverdela maybe you could try plugin hmac-auth