AXinx / Log2Pro

0 stars 0 forks source link

Cors issue #3 #5

Closed skoulouzis closed 4 years ago

skoulouzis commented 4 years ago

I solved the CORS issue with a workaround. I was not able to figure it out from the javascript. Instead, I made a "proxy" call via the REST API in the ProvIntegratorController. I added a new method in 'ProvIntegratorController.java' called 'getData'. This method simply sends a GET request to the request parameter 'queryURL' returns the result.

I make this call in the 'getData.js' I'm not sure how to exactly parse the output.