DevTest Swagger UI - TypeError: Failed to fetch
search cancel

DevTest Swagger UI - TypeError: Failed to fetch

book

Article ID: 246298

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

Unable to Execute POST/ Create Virtual Service on swagger-ui

<hostname>1505/lisa-virtualize-invoke/api/v3

https://abcd.nam.nsroot.net:1505/lisa-virtualize-invoke/api/v3/swagger-ui

Environment

Release : 10.7

Component :

Cause

 Registry is configured for SSL.   so the Invoke API URL is HTTPS. 

https://abcd.nam.nsroot.net:1505/lisa-virtualize-invoke/api/v3/swagger-ui

The Scheme used is HTTP  and that caused the  Fetch Error. 

Resolution

 

In the API,  Choose HTTPS  for the Scheme, so the GET/POST calls made is https:// .  

GET /vses

https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=5U3unjdjqw5OVfkOEWptYw==

Attachments