Web redirect on a server api written in python

Hi Tal,

you can insert rows to Backendless Data as well as performing any other logic in you app. The only thing that must be followed is to redirect only after this logic.

That sounds good.
What is the method of extracting the parameters and inserting to our table from this js file?
Is there a tutorial for that?

That sounds good.
What is the method of extracting the parameters and inserting to our table from this js file?
Is there a tutorial for that?

Hi, I’m Still waiting for a response from last week.

all the way down the thread.
thanks

Any parameters would be in the request body. For example, if you send the following JSON:

{
“yourParameterName”:“foobar”
}

You can extract it like this:

var value = JSON.parse( request.body ).yourPropertyName;

value will contain “foobar”.

Regards,
Mark

and how is it possible to insert to the data tables through this javaScript file?

You would use our JS SDK. Here’s the doc for saving an object in a data table:
https://backendless.com/documentation/data/js/data_saving_data_objects.htm

Thanks

Thank you the whole script works now!