Open-AudIT
http://www.open-audit.org/phpBB3/

[HELP] API POST requests return Status 201
http://www.open-audit.org/phpBB3/viewtopic.php?f=20&t=6535
Page 1 of 1

Author:  dshah [ Sat Jul 02, 2016 1:26 am ]
Post subject:  [HELP] API POST requests return Status 201

I am making POST requests using Open-Audit API following the guidelines at the https://community.opmantek.com/display/OA/The+Open-AudIT+API.
Everything was working fine and was getting Response Status 200, however since yesterday I started getting Response Code 201 : Created.


Using Open-Audit v1.12.6
I am making calls to this URL : https://oaudit1.wpprivate.com/open-audit/index.php/devices
Was something changed in the API configuration/endpoints?
Does someone else encounter the same problem?

Author:  Mark [ Tue Jul 05, 2016 1:24 pm ]
Post subject:  Re: [HELP] API POST requests return Status 201

If it worked on one day, then not on the next the obvious question is "what has changed"?
Nothing has changed code-wise, unless maybe you're running from the Dev branch on GitHub.
Be aware that presently POST to /devices will run the update code, not a full "insert audit result" action. This is on the list.

Page 1 of 1 All times are UTC + 10 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/