Request by Post Error

53 views
Skip to first unread message

Paulo Lira

unread,
Apr 22, 2014, 10:56:52 AM4/22/14
to dand...@spaziodati.eu
I need a help, whenever try access with post, i receive this response "{u'message': u'Parameter [text1|html1|url1] not found', u'code': u'error.missingParameter', u'data': {u'parameter': u'text1|html1|url1'}, u'error': True}" 

my request is this "unirest.post(url,
        headers={ "Accept": "application/json" },
        params={"$app_id":"*********", "$app_key":"*****************", "text":"United States"} )" 

where is the error?


tnks.



Stefano Parmesan

unread,
Apr 22, 2014, 11:49:59 AM4/22/14
to dand...@spaziodati.eu
Hi Paulo,

Sorry for the late reply. What's the "url" you're POSTing to?

This looks like a dataTXT-SIM error (which requires "text1" and "text2" parameters as described in the documentation) more than a dataTXT-NEX issue (which as you correctly point out requires just "text").

Thanks,

-- 
Dott. Stefano Parmesan
Backend Web Developer and Data Lover ~ SpazioDati s.r.l.
Via del Brennero, 52 – 38122 Trento – Italy
Reply all
Reply to author
Forward
0 new messages