Likely to be a CORS issue - 
https://github.com/swagger-api/swagger-ui/blob/master/docs/usage/cors.md

 

 

 

From: <[email protected]> on behalf of Sergi Aguilar 
<[email protected]>
Reply-To: "[email protected]" 
<[email protected]>
Date: Monday, May 7, 2018 at 05:59
To: Swagger <[email protected]>
Subject: Localhost URL

 

Hello, 

 

I am using the online swagger editor, and I amb using this url: localhost:3000.

 

When I try to execute the function I want, the system send me error 304. And i 
don't know why. Someone told me this is because the online editor doesn't 
support localhost, but i don't know why.

Because if i copy the CURL that swagger is trying to execute, my own terminal 
executes with code 200 and perfectly. 

 

Can anyone help me? 

 

Thanks

 

 

 

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to