Detecting language please wait for.......
When I run the request : https://myserver.com/documentation/api/index I get the main screen but not the lower section to Post.
There is a mesage "Can't read from server. It may not have the appropriate access-control-origin settings."
Support has deferred me back to this group for help.
I finally got some help from Paul and the workaround he suggested worked perfectly fine for us:
It seems there was an update which broke the link. You can fix it with this workaround.
Hi Ronald Hewitt,
Can you please take a look at the following documentation to see if this solves your problem?
Just like Frederic Delaunay, we don't see a login area at the top, unlike what the documentation suggests. What we see is the URL followed by a field called "api_key". There is no way to scroll down to Login and /signin as the documentation suggests.
One time fix:
- On the GroupShare server edit “c:\Program Files(x86)\SDL\SDL Server\Web\swagger-ui\groupshare.json”:
- Replace “host”:”localhost:41234” with “host”:”servername” (without port)
Then each time you want to use swagger:
- In your browser access http://<servername>/documentation/api/index (again no port)
- Replace http://<servername>:41234/docs/v2 in the top of the page by http://<servername>/swagger-ui/GroupShare.json (again no port)
- Click “Explore”
You should now be able to use swagger interactively and you should not need any port open with the exception of port 80.
Merci Frederic Delaunay! I'll work with Rieko Matsunaga and Bradley Bench at our company to try this out.
This worked for me.