Hi,
I create a database using the Management API. I send the request
using Chrome's Postman.
- URL: http://ml9ea4:8002/manage/v2/databases
- Digest authorization with correct user/pwd
- Content-Type: application/json
- Body: raw: { "database-name": "foo-content" }
MarkLogic returns "403 CSRF" with no content.
Note the machine name is redirected to a VirtualBox machine on my
laptop, configured in /etc/hosts. Also, the following works like a
charm, so it seems to be an issue related to Postman:
curl -X POST --digest --user xxx:yyy \
--header "Content-Type:application/json" \
-d'{ "database-name": "foo-content" }' \
http://ml9ea4:8002/manage/v2/databases
Any idea what can cause the 403? Anyone experienced this already?
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/ - New website!
_______________________________________________
General mailing list
[email protected]
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general