Skip to content
Advertisement

Tag: ajax

How to send POST request with custom data

I am trying to get the responses from server and save this response to json files. The problem is that I cannot request custom data, even if I try to change some parameters, nothing works. Here is my code: Let say I want to send POST request with next data Answer Nevermind, they provided option to request all data from

passing node js variable to html using ajax

I am trying to pass python json results to html ajax from node js. What I want to make is, take some inputs from the client side, and when a submit button is hit, ajax is sending the variables to Node JS then the /data middleware runs a python script which handles the DB and stores the variables and showing

Advertisement