{"id":346,"date":"2022-08-30T14:59:49","date_gmt":"2022-08-30T14:59:49","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/06\/problem-about-gql-collection-of-common-programming-errors\/"},"modified":"2022-08-30T14:59:49","modified_gmt":"2022-08-30T14:59:49","slug":"problem-about-gql-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/problem-about-gql-collection-of-common-programming-errors\/","title":{"rendered":"problem about gql-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/181dfa8f5caecbb9eb0eb69aa9a098e6?s=32&amp;d=identicon&amp;r=PG&amp;f=1\" \/><br \/>\nc4sh<br \/>\njavascript python html google-app-engine gql<br \/>\nwhat I&#8217;m trying to do is have a upload button to upload files to our storage system. I&#8217;m using Google App Engine with Python. Also HTML and Javascript for views.For that, we have a HTML, and a.js that asks the user if he&#8217;s sure that he wants to overwrite a file. For that overwriting question, I need to ask the Database to know if it exists,and so if the question should be asked or not&#8230;The thing is I don&#8217;t know even where to start. I have this confirm() text shown to the user, and a GQL database, but I don&#8217;t know how to make a question. For example, I upload via a URL, but then I don&#8217;t have a response for that, and also I don&#8217;t want to pass a question (name of the file,&#8230;) to the database via URL&#8230;Do you have any idea of what path should I follow? Am I trying something impossible or without any sense?Thanks a lot!I add some code:this is the HTML form where we ask the user to upload a file:<\/li>\n<\/ul>\n<p id=\"rop\"><small>Originally posted 2013-11-06 03:12:51. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>c4sh javascript python html google-app-engine gql what I&#8217;m trying to do is have a upload button to upload files to our storage system. I&#8217;m using Google App Engine with Python. Also HTML and Javascript for views.For that, we have a HTML, and a.js that asks the user if he&#8217;s sure that he wants to overwrite [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-346","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/346","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=346"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/346\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=346"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}