Burp Suite User Forum

Login to post

Creating new site using graphql

Mike | Last updated: Jul 01, 2020 06:21PM UTC

I am new to graphql. I've been able to run queries, but have not been able to run any mutations. Trying to create a new site using the following query: Python: query = {"mutation": "{create_site(input{name: Mysite, scope:{included_urls: https://target/}, parent_id:0, scan_configurations:[{id:000}, {id:001}]}})}{site{id,parent_id,scope:{included_urls}}}"} Result: {'errors': [{'message': 'query may not be null', 'extensions': {'code': 3}}]} Any idea what I might be doing wrong?

You need to Log in to post a reply. Or register here, for free.