Skip to content

Support passing POST data to start a region search#443

Open
heralden wants to merge 1 commit intointermine:devfrom
heralden:feature/external-region-search
Open

Support passing POST data to start a region search#443
heralden wants to merge 1 commit intointermine:devfrom
heralden:feature/external-region-search

Conversation

@heralden
Copy link
Member

Pass POST params and body from bluegenes' backend to its SPA, and make it open the region search page and show the results if region data is supplied. This is to support region search queries from external pages.

To test, use an HTML like below, with bluegenes running locally.

<html>
  <body>
    <form action="http://localhost:5000" name="list" method="post">
			<input type="hidden" name="features" value="Allele,CDS"/>
			<input type="hidden" name="regions" value="2L:14615455..14619002
2R:5866646..5868384
3R:2578486..2580016"/>
			<input type="submit" value="Submit"/>
		</form>
  </body>
</html>

@heralden heralden requested a review from yochannah November 20, 2019 11:10
@yochannah
Copy link
Member

@foreveremain - with this endpoint you should be able to pop straight from Jalview into an InterMine - does it look like it would work for you? (we still need the taxon id endpoint for the registry though).

We can (I think) deploy to a staging server if you want to give it a test in real life.

@heralden heralden added this to the 0.10.0 milestone Feb 11, 2020
@heralden heralden removed this from the 0.10.0 milestone Jun 11, 2020
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

Successfully merging this pull request may close these issues.

2 participants