Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting the sync URL #137

Open
lmichel opened this issue Jun 22, 2022 · 4 comments
Open

Getting the sync URL #137

lmichel opened this issue Jun 22, 2022 · 4 comments

Comments

@lmichel
Copy link

lmichel commented Jun 22, 2022

The default WEB interface is based in an HTLM form. There is no way to retrieve the complete UWS query URL. This would be helpful however for instance to replay the query from Curl.
My suggestion would be to write out the actual URL somewhere in the page in a way it could be Cut/Paste

@gmella
Copy link

gmella commented Jun 22, 2022

Just a comment/hint.. I often use the web developer tool feature provided by most browsers to look at network exchanges and mimic with my own scripts. Some of them may also provide more than the single url so you can query again endpoint with curl.
But I have to mention that I must remove the target="blank" attribute from the default form so I can see the network request.

@lmichel
Copy link
Author

lmichel commented Jun 22, 2022

I noticed that, the TAP query is not sent in the current tab context, so that you cannot use the developer tools to check the network traffic.

@gmella
Copy link

gmella commented Jun 22, 2022

yes as I edited my first message to mention that you have to change the html. The other and much more simple option is to ask for a text output and then you get the full URL in the other tab where you just have to change the FORMAT parameter.

@gmantele
Copy link
Owner

@lmichel , I think that what you call the default WEB interface is actually the default home page provided by my library. As said, it is a home page. The real resources are queried by this home page and can perfectly be queried by curl (or so). From the home page's URL, just append sync or async and you'll get what you want ;)

Or did I misunderstand?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants