# Execute Cypher Query within URL

**URL:** <https://community.neo4j.com/t/execute-cypher-query-within-url/21801>\
**Category:** Newbie Questions\
**Tags:** browser\
**Created:** [July 17, 2020, 5:44am UTC](https://community.neo4j.com/t/execute-cypher-query-within-url/21801 "2020-07-17T05:44:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![danpw](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/danpw/32/5056_2.png) [@danpw](https://community.neo4j.com/u/danpw)\
**Post date:** [July 17, 2020, 5:44am UTC](https://community.neo4j.com/t/execute-cypher-query-within-url/21801/1 "2020-07-17T05:44:28Z")

</div>

Hi - I want to roll out my graph database to users who are non-technical using the neo4j browser. Ideally I would want to write the cypher statements automatically and pass them to the browser in the url.

Example:

[http://localhost:7474/browser/?cmd=play&arg=MATCH%20(node:Person)%20RETURN%20node](http://localhost:7474/browser/?cmd=play&arg=MATCH%20(node:Person)%20RETURN%20node)

The above url will attempt to run the cypher command within :play which will fail as play is for browser help etc.

What can I replace play with so that my cypher query is executed?

---

<div class="post-metadata">

**Author:** ![mark3](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/mark3/32/1099_2.png) [@mark3](https://community.neo4j.com/u/mark3)\
**Post date:** [July 17, 2020, 2:14pm UTC](https://community.neo4j.com/t/execute-cypher-query-within-url/21801/2 "2020-07-17T14:14:12Z")

</div>

I think I would be more inclined to write a custom browser guide than try to run queries from the url (which I'm not entirely sure is possible).

With a custom browser guide you can include documentation for the users along with hints and tips as well as running queries in the browser.

Take a look at:

> **[Tutorial: Create a Custom Browser Guide - Developer Guides](https://neo4j.com/developer/guide-create-neo4j-browser-guide/)**
>
> This guide explains how to create a walkthrough (in slideshow format) for the Neo4j Browser that enables your audience to explore your database and model interactively.

Regards,

Mark

---

<div class="post-metadata">

**Author:** ![jmc](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/jmc/32/3958_2.png) [@jmc](https://community.neo4j.com/u/jmc)\
**Post date:** [August 5, 2020, 8:03am UTC](https://community.neo4j.com/t/execute-cypher-query-within-url/21801/3 "2020-08-05T08:03:52Z")

</div>

Is it possible to use javascript, inside of a custom guide?

I would like to populate an input select field, with values from neo4j, but I can't seam to make javascript code run inside the guide.
