Rest Api \ APi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Rest Api \ APi
I cannot find the API service. I entered the Windchill server in the localhost section, but when I try to access it via http://localhost:80/Windchill/servlet/rest/v1/contexts or Swagger, I get the following error:
Failed to fetch. Possible Reasons:
CORS Network Failure URL scheme must be "http" or "https" for CORS request. It also gives a 404 error. I need to connect to the API in order to use it for my middleware application and perform operations, but I'm having trouble connecting to the API. In fact, I don't have a proper API at hand.
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @ozclkonur
Check REST API documentation directly in windchill
https://server.com/Windchill/netmarkets/html/wrs/doc.html
there are examples of the URLs
The swager works in my case
https://server.com/Windchill/servlet/rest/v1/contexts
json is returned.
Check if you use correct login user and password
PetrH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @ozclkonur
Check REST API documentation directly in windchill
https://server.com/Windchill/netmarkets/html/wrs/doc.html
there are examples of the URLs
The swager works in my case
https://server.com/Windchill/servlet/rest/v1/contexts
json is returned.
Check if you use correct login user and password
PetrH
