TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Christian Florez
NA
1
654
error api meaningcloud
May 16 2016 5:11 PM
Hi, i try to use a categorized api from meaningcloud site for C# project, but i receive the error 406, i even used the example they publish on their website with the same error, anyone has some experiencie with this api?
Code
protected void Button1_Click(object sender, EventArgs e)
{
var client = new RestClient("http://api.meaningcloud.com/class-1.1");
var request = new RestRequest(Method.POST);
request.AddHeader("content-type", "application/x-www-form-urlencoded");
request.AddParameter("application/x-www-form-urlencoded", "key=MY_KEY_VALUE1b&txt=PRUEBA&model=IPTC_es", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
txtRespuesta.Text = response.Content;
}
The msg error
<html><head>
<title>406 Not Acceptable</title>
</head><body>
<h1>Not Acceptable</h1>
<p>An appropriate representation of the requested resource /class-1.1 could not be found on this server.</p>
I write them but still dont have an answer, if someone has any idea of what im doing wrong please inform.
Thanks
Reply
Answers (
0
)
Execute action per each item on a list
Linux Unity: Recognize dependent dll files