Forum Discussion
NiHo_202842
Cirrostratus
Jan 25, 2017iControl REST returning 401 on PATCH to ASM policy
Hello,
So I am doing the following steps in Java on 12.1.2;
- receive token
- get ASM policy (using id) in json
- change something in this json, in this example it's changing the description
- Do a PATCH of the exact same object to mgmt/tm/asm/policies/$id
The last step returns a 401. Anyone an idea why? It's not bad credentials, because the token works for retrieving the ASM policy.
restjavad log:
[ForwarderPassThroughWorker]{"user":"tmos/username","method":"PATCH","uri":"http://localhost:8100/mgmt/tm/asm/policies/xxx?ver=12.1.2","status":401,"from":"xxx.xxx.xxx.xxx"}
No RepliesBe the first to reply
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects