Thanks Ron.

I have heard this over and over but I am not able to make any sense of how 
to go about it.

I need a step by step approach as I have not done anything like this before.

Where do I go to, if I have to write a custom file, where do I put this 
file etc..

I have read all possible documentations and comments on forum and it all 
looks vague.

I have access to my local machine and scripts only so I am looking for a 
solution that I can incorporate at this level.

Thanks.

On Friday, September 15, 2017 at 5:59:19 AM UTC-4, Ron wrote:
>
> Most likely your server has CORS misconfigured and requires authentication 
> for OPTION calls.
>
> Find a way to disable that and it should work.
>
>  
>
>  
>
>  
>
> *From: *<[email protected] <javascript:>> on behalf of 
> Muhammed Oladipupo Elegbede <[email protected] <javascript:>>
> *Reply-To: *"[email protected] <javascript:>" <
> [email protected] <javascript:>>
> *Date: *Thursday, September 14, 2017 at 23:28
> *To: *Swagger <[email protected] <javascript:>>
> *Subject: *Swagger 2.0 TypeError: NetworkError when attempting to fetch 
> resource.
>
>  
>
> Hi all, 
>
>  
>
> I have successfully written my documentation both online and locally on my 
> machine.
>
>  
>
> When I do a try it out to test the API, it generates the right curl syntax.
>
>  
>
> When I run this curl locally on my machine, everything works fine and the 
> desired result comes through.
>
>  
>
> However on the swagger documentation interface, it returns: 
>
>  
>
> *TypeError: NetworkError when attempting to fetch resource.*
>
> * and the status code stands at:401 UNAUTHORIZED* 
>
>
> I would appreciate any pointer as to what could be wrong. I am struggling 
> with this badly.
>
>  
>
> 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] <javascript:>.
> 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