[keycloak-dev] 405 on importing a realm
Kishan Sagathiya
ksagathi at redhat.com
Wed Oct 11 07:10:05 EDT 2017
Hi,
I am getting '405 Method Not Allowed' on trying to create a realm using
keycloak's admin rest api.
Following is the command that I am running
curl -H "Content-Type: application/json" -H "Authorization: bearer
$ACCESS_TOKEN" -d 'rep=$CONTENT_OF_THE_JSONFILE' -D- -X POST "
http://mykeycloakurl.com/auth/admin/realms/master"
Is this the right way?
More information about the keycloak-dev
mailing list