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

testing single page application #187

Closed
gunesmes opened this issue Aug 7, 2014 · 4 comments
Closed

testing single page application #187

gunesmes opened this issue Aug 7, 2014 · 4 comments

Comments

@gunesmes
Copy link

@gunesmes gunesmes commented Aug 7, 2014

Hi,

when I want to send http request to single page application, the urls after hashtag (#) are ignored such as:
self.client.get("/#/books/story")

Is there a way to achieve this?

@Jahaja

This comment has been minimized.

Copy link
Member

@Jahaja Jahaja commented Aug 7, 2014

Would the consequence of this working mean that more resources would be loaded through ajax? If that's the case I would advise you to request the url to the ajax requested data.

@gunesmes

This comment has been minimized.

Copy link
Author

@gunesmes gunesmes commented Aug 7, 2014

Yes there is ajax request which request to api. I can get this url and send requests but I wonder how it could be working with hashtag.

@Jahaja

This comment has been minimized.

Copy link
Member

@Jahaja Jahaja commented Aug 7, 2014

You can't use hashtag so you have to request it for yourself. Furthermore, javascript is not evaluated, so it won't work.

@gunesmes

This comment has been minimized.

Copy link
Author

@gunesmes gunesmes commented Aug 7, 2014

thank you.

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.