Quantcast
Channel: GlassFish Related Items on Java.net
Viewing all articles
Browse latest Browse all 1091

Using the Glassfish Adfmin Rest API from cross-domain ajax on 3.1

$
0
0

Hi,
My GF version is 3.1 open source.

I'm trying to consume the rest API of my GF cluster with ajax requests (no matter about jquery or other, I've tried with xhr only too).

I succeed to authenticate with a secure realm but browsers sends OPTIONS requests because of crossdomain and I get 501 (Not Implemented).
Curl command line requests works fine too.

Is the Rest Admin API CORS compliant ?
Is it impossible via crossdomain calls ?

Thanks


Viewing all articles
Browse latest Browse all 1091

Trending Articles