How to use Send?

(Robert) #1

The UI now includes a checkbox labeled “Send requests directly from the browser (CORS must be enabled).”

How do I enable CORS? I’m using Chrome on OS X but customers may be on Windows.

(Taylor Barnett) #2

Are you wanting to have the request go through the browser? It’s a new way of sending requests that we added a few months ago, but the old way should hopefully still work for you like it did before.

(Robert) #3

Send has never worked for me.

(Taylor Barnett) #4

Without the CORS box checked, what errors do you get?

I apologize if you have already shared these, but I don’t remember this.

(Robert) #5

Error sending request Get http://localhost:9080/api/v2/applications: dial tcp getsockopt: connection refused

But if I send the generated curl command it works fine.