The Community 2018-10-19T18:30:17+00:00

Welcome to ERP-Talk Community

For first time users please create an account

Problem in sending ...
Clear all

Problem in sending JsonString to Python endpoint using Netsuite script

New Member
Joined: 3 years ago
Posts: 1
Topic starter  

Hello all,

I have a simple python route as follows:-

@app.route('/api/customer/', methods=['PUT'])
def check():
return data

I'm trying to call this python route using suite script in Oracle Netsuite. Here is the code for Requesting part of my suitescript.


var jsonVar = [{"email":"","lastname""John"}];
var data = JSON.stringify(jsonVar);
When I am executing my suite script, I am Getting the following error in the netsuite app. Error

It would be a great help if some one can give me a head's up.

Thanks in advance,

Topic Tags