Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

On the angular side we are using the Froala editor for the messaging part(like upload files) and backend services are in .NET core. Since we have created API for uploading attachment into CDN server, ...
Ganapathy A's user avatar
0 votes
0 answers
43 views

I'm creating a Flask app, and in my tellmestory.html I have a form for users to select the age. In my app.py, I am trying to select the user's selected option but I always get None. Here are some ...
Gabriela Cocoș's user avatar
0 votes
0 answers
39 views

Why I am getting an empty dict in web page after running this code? app = Flask(__name__) @app.route('/multiplication') def multi(): data = request.form print('data is',data) return f'...
Shweta's user avatar
  • 1
1 vote
1 answer
545 views

I am trying to take a file input from an HTML form. @model ViewModel @using (Html.BeginForm("UploadForm", "Upload", FormMethod.Post, new { enctype = "multipart / form - data&...
Micah Stovall's user avatar
0 votes
2 answers
1k views

I've been trying to figure out the best way to pass data from frontend to backend in Flask. The problem is that when receiving data on the back end, the data retrieval came from the request.form['msg']...
milah's user avatar
  • 31
1 vote
1 answer
80 views

I am using Request.Form to get the text in the input field, however the value is always empty. I am trying to get the text value in the input tage and query my database. I am using a datepicker which ...
eyedfox's user avatar
  • 714
1 vote
0 answers
51 views

I've seen few posts about this error, but none of them helped me with my case. index.html <p><input type="number" step="0.01" name="data_split" value="0.2&...
irek-opalinski's user avatar
-4 votes
1 answer
88 views

JavaScript Functions (need help with question 4) Define a function that simulates tossing a coin. Write your definition here. You can save it in your folder as a text file called tossCoin1.txt ...
JanamP's user avatar
  • 11
0 votes
1 answer
650 views

@app.route('/',methods = ['POST']) def user_rating(): for i in form_value['Rating']: print(request.form.get(str(i))) return("Thank You") I tried various methods but ...
Himanshu verma's user avatar
1 vote
1 answer
442 views

I am new to flask (and StackOverflow) and I apologise in advance for any mistakes I have made. I am trying to get selected value from a select tag in flask. I have tried all the solutions of similar ...
Kritik Seth's user avatar
3 votes
1 answer
277 views

I'm currently learning Flask. I've got multiple forms in my HTML and I want to send the form data to my backend in Flask. I've managed to successfully send over the data from a single form, but I'm ...
Mulloy's user avatar
  • 176
-1 votes
1 answer
917 views

I need to pass a variable var from a HTML-page to flask, and have tried the code below, but the problem is that the request.form changes vars type from a dict to a string. I used json.loads(item) to ...
EllinorR's user avatar
1 vote
1 answer
178 views

i need help in python flask environment i have some html page that in that page iam getting list of ip addresses from SQL database and the ip addresses in the list are clickable. what i need is the ...
a.artur's user avatar
  • 13
0 votes
1 answer
187 views

I have a contact form on my website that I've been getting errors of "A potentially dangerous Request.Form value was detected from the client" from for a while. I have put in some measures to try to ...
James_P's user avatar
  • 11
1 vote
1 answer
2k views

I am fresh into this whole programming thing. Currently, I am working on a flask, python, SQLite project. I had an edit form set up to edit a listing the user posted. It worked great. Then I, copied ...
Gibn's user avatar
  • 13
0 votes
1 answer
30 views

Our partner is posting a notifikation to our server. When using Request.Form on the server there are no keys and not data at all. When doing the same thing on localhost all data are populated just ...
KeldJ's user avatar
  • 141
2 votes
2 answers
2k views

i have tried so many time to correct flow but i cant find it , help me where i am wrong. when i want to take data from form , it says there is no defined variable. i have allready created database ...
Tekno Galaksi's user avatar
0 votes
1 answer
1k views

I try to access the posted value from a checkbox and if it is checked or not. I currently have this.. <input type="checkbox" value="2" class="form-check-input" id="chk1"> for (i = 1;...
MTplus's user avatar
  • 2,471
-1 votes
1 answer
689 views

I currently have a form on my flask web app that has +- 100 inputs. To request every value in 1 line I use: f = request.form. If I print it on my local version, I'll end up with a complete list of all ...
Yadiiiig's user avatar
-2 votes
1 answer
247 views

I have written a flask api which recieves post request params using request.form. API performs perfectly in postman but fails in axios request.
Preetam Keshari Nahak's user avatar
6 votes
2 answers
15k views

I have a form inside an html file, this form is creating new input fields in which the user is supposed to type some info. Later, i wanna pass all those values into my python main file (application.py)...
Carlos Bueno's user avatar
0 votes
1 answer
647 views

How do I get Flask to return the user to the same page, filled out the same way, after he/she submits the form on the page? 'render_template' only seems to work if I know all the variables ahead of ...
DCB2524's user avatar
  • 31
0 votes
1 answer
280 views

I am building a dynamic form where my text fields store into two tables: quizzes and questions. The questions table has a foreign key to identify which quiz they belong to. However, while my questions ...
programmerkane's user avatar
0 votes
1 answer
456 views

I have a simple repeater to list textbox. try.aspx <form id="form1" runat="server" action="try_send.aspx" method="get"> <div> <asp:Repeater ID="ClRpt" runat="server"> &...
zokanzi's user avatar
  • 117
2 votes
0 answers
589 views

Prologue: I've read many questions about fixing 'A potentially dangerous request' errors: A potentially dangerous Request.Form value was detected from the client ASP.NET MVC A potentially dangerous ...
Greg Burghardt's user avatar
2 votes
2 answers
333 views

I'm trying to send JSON with POST method from console application to WebPage.aspx which will regonize JSON and will do somethink with data. Request status is OK, but on server side I'm getting empty ...
Tymofii's user avatar
  • 31
0 votes
1 answer
398 views

I want to print user-entered values to a file but every time I run it again, even with the same data (or no data at all), they are in a different order. This is the part of my .py file that does this:...
mEEzy's user avatar
  • 145
0 votes
0 answers
1k views

I am new to Nunit and Moq framework and am totally stuck in testing for one of my controller as it fetches some of the values from Request.Form["Something"]. I am able to test for the other part of ...
Ans's user avatar
  • 39
-1 votes
1 answer
2k views

how can i send non-input data (like lists) from html to Flask. <form action="/" method="POST"> <ul class="list-group"> <li class="list-group-item " id="">Data that i ...
kochenderKoch's user avatar
2 votes
0 answers
184 views

I have implemented custom ActionFilterAttribute to create custom web access log and OnActionExecuted I try to access ActionExecutedContext.HttpContext.Request.Formcollection using Request.Form....
TotPeRo's user avatar
  • 6,831
1 vote
0 answers
337 views

I am experiencing an issue when I am using Postman app to send Test Post request to different urls. As you can see in the below screenshot, I am trying to send a POST request to the first server, ...
Simon Azzopardi's user avatar
0 votes
1 answer
185 views

I am currently taking over a project and trying to test a website on my machine locally. I have the new and old project files ( old being a copy/backup, one being a git repository) in a parent folder....
Cory Tam's user avatar
  • 106
0 votes
0 answers
839 views

I want to create a form on a request in Node to add attachments to an email. As far as I can tell here under the multipart/form-data (Multipart Form Uploads) section I should be able to create a ...
mikeym's user avatar
  • 6,581
0 votes
1 answer
800 views

I am working on ecommerce website. At final I need to integrate payment gateway for which I am using payuBiz. While parsing Trasaction infromation to payu I have notice Request.Form values are empty &...
SUN's user avatar
  • 983
0 votes
1 answer
1k views

I am trying to write some unit tests for my ApiController and faced some issues. Here is my TestMethod [TestMethod] public void CustomerController_AddUnitTest() { ...
Sami Parkar's user avatar
1 vote
1 answer
2k views

I am not getting any data when submitting a form. I would expect Request.Form.Count=2, but instead RequestForm.Count=0. Any assistance would be appreciated. <%@ Page Language="VB" ...
Len White's user avatar
  • 1,002
0 votes
2 answers
706 views

Hi I'm trying to save the values from the request.form after post back. I've tried to use viewstate on the input string but the page_load keeps regenerating the request.form string TID = null; ...
Igal Khalfin's user avatar
0 votes
0 answers
211 views

I am not able to retrieve Request.Form["SomeKey"] when the application is deployed on dev server. Application is hosted on IIS 8 and code is written in C#. Please note that I am able to see the form ...
swapna sharma's user avatar
1 vote
2 answers
11k views

I have a question about Python. I am trying to get multiple buttons in one form, but it isn't working out. I have tried using if 'elem' in request.form, but that isn't working, because the submit's ...
Tunder250's user avatar
  • 117
0 votes
1 answer
262 views

I can't understand why is following code working in VS 2012 and not working in VS 2015: getdata.html: <!DOCTYPE html> <html> <head> <title></title> ...
Arkady Karasin's user avatar
0 votes
1 answer
40 views

I have windows 10 UWP App, which uses Webview for search & Listings. It works fine except it gets error wherever there is Request.form Data Posted from previous page. The error is enter ...
ahmerh's user avatar
  • 11
0 votes
1 answer
1k views

Our shop has some generalized error-logging code which, for web pages, includes logging of request properties. This error logger has been stable for years. Lately we've gotten a couple of errors ...
Paul Kienitz's user avatar
-2 votes
1 answer
4k views

Issue: In the controller, the Request.Form values are null and count is 0. This is happening after hosting my website with a web hosting firm. However there is no issue while I am developing the ...
misra's user avatar
  • 1
5 votes
2 answers
11k views

I'm here learning ASP.NET which is why I'm obviously here asking a question. So when I run a statement inside of <% %> delimiters everything works fine. I try to instead run it in a <script ...
Corey's user avatar
  • 200
1 vote
0 answers
712 views

I'm new to HTML5. I have a list structure on the form. This is the generated HTML: <div id="acctCode1"> <input class="entity" id="Entities1_0_" name="Entities1[0]" type="text" value="788" /&...
Farducci's user avatar
0 votes
1 answer
752 views

I have a MVC model field that the user enters some html source code into. Currently, I am getting the following error: A potentially dangerous Request.Form value was detected from the client I ...
Simon's user avatar
  • 8,401
0 votes
2 answers
4k views

I have a very simple drop down menu: <select name="sNumR" id="sNumR" onChange="addTable()"> <option value=1>1</option> <%For i=2 to 10 Response.write("<option ...
Jimmy Goodson's user avatar
2 votes
1 answer
389 views

I've a search box which is on a master page. i used request.form to get the value to be searched. it is working fine when the previous page is not a secure page but such as login page and other web ...
sd4ksb's user avatar
  • 251
0 votes
3 answers
3k views

I have submit form in View where price fields can be null. I get values in action with Request.Form[]: int? min = int.Parse(Request.Form["min"]) but I get Exception when the field is null because ...
arsena's user avatar
  • 1,975
0 votes
1 answer
135 views

I have a tricky question. Hope somebody can answer this for me. I am using a Site based on DOtnetNuke CMS. I have a page which has an input field <input name="ct100$dynamicinputfield1" id=ct100$...
MarsOne's user avatar
  • 2,187