Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

Use Glimpse with an API Controller Action. #132

Open
shaunluttin opened this issue Oct 6, 2016 · 2 comments
Open

Use Glimpse with an API Controller Action. #132

shaunluttin opened this issue Oct 6, 2016 · 2 comments

Comments

@shaunluttin
Copy link

shaunluttin commented Oct 6, 2016

Our app shows the HUB when a controller action returns a View() but not with when it returns Json().

  • Does Glimpse support display of the HUB in actions that return only Json()?
  • In other words, does Glimpse require a View in which to render its HUB.
@avanderhoorn
Copy link
Member

To render HUD, yes it needs HTML to inject itself into. That said you should still be able to access the full client by going directly to the client URL (HUD provides this link when you click in the "G") and from there you should see both Json and Html based results.

@eegasai
Copy link

eegasai commented Oct 6, 2016

Hi avan,
i have copied the url from the web app in which the HUD was working, till https://localhost:{port}/glimpse/client/index.html.I tried to change the api port number .It asked for metadata url of the Glimpse(by default it is being considerd as Base Url and "/metadta") In which every time it is displaying the No requests found even though i am invoking api endpoints.

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

No branches or pull requests

3 participants