TweetValidator icon indicating copy to clipboard operation
TweetValidator copied to clipboard

Unclear what format the data parameters is expecting

Open lozandier opened this issue 11 years ago • 7 comments

Based on the current contents of readme.md, it's unclear how to proceed with the task of formatting data to adhere to this API.

lozandier avatar Feb 28 '15 23:02 lozandier

Hello, The hint says that the 'data key should take an object of request parameters', plus the app.js here is looking for a 'description' value in the body - so behold - this worked for me:

data: { description: potentialTweet } 

:) Doug

Thanks @dougwiley that worked for me. Still getting used to the $http stuff.

RonanCodes avatar Apr 09 '15 14:04 RonanCodes

Still the documentation is in low level.

imichelakos avatar Nov 05 '15 13:11 imichelakos

Even the curl example doesn't work

jbasilio avatar Feb 15 '16 14:02 jbasilio

data: { description: potentialTweet } worked for me thanks :)

ozluy avatar Feb 19 '16 23:02 ozluy

Does anybody know how to make this work using "Advanced REST Client"? https://chrome.google.com/webstore/detail/advanced-rest-client/hgmloofddffdnphfgcellkdfbfbjeloo

janmchan avatar Mar 28 '17 20:03 janmchan

Fixed with #2

caike avatar Mar 31 '17 11:03 caike