Jump to content
Sign in to follow this  
Alexandre José

TMS Web Core

Recommended Posts

Hi Andrea,

 

I have a perfectly functioning MARS server.

I am testing the TMS Web Core and no results are displayed. In POSTMAN it works.

 

See the return trace:
 

GET http://localhost:8081/amara/v1/docs

Sec-Fetch-Mode: cors Origin: http://localhost:8000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36 Accept: */*

 

HTTP/1.1 200 OK

Connection: close Content-Encoding: UTF8 Content-Type: text/html; charset=UTF8 Content-Length: 32 Date: Sun, 29 Sep 2019 11:22:21 GMT

 

Is there any additional configuration?

 

Thanks!

Share this post


Link to post
6 hours ago, Alexandre José said:

Hi Andrea,

 

I have a perfectly functioning MARS server.

I am testing the TMS Web Core and no results are displayed. In POSTMAN it works.

 

See the return trace:
 

GET http://localhost:8081/amara/v1/docs

Sec-Fetch-Mode: cors Origin: http://localhost:8000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36 Accept: */*

 

HTTP/1.1 200 OK

Connection: close Content-Encoding: UTF8 Content-Type: text/html; charset=UTF8 Content-Length: 32 Date: Sun, 29 Sep 2019 11:22:21 GMT

 

Is there any additional configuration?

 

Thanks!


It was missing parameterize the CORS.

 

Engine.Parameters.Values['CORS.Enabled'] := True;

 

Thanks!

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×