--347019335-505193291-1362674185=:59623
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Hi,=0A=0AI tried exploring the feature of adding external events in oVirt. =
(Version 3.2)=0AI just wrote a=A0JavaScript=A0to fetch events and it wroked=
fine.(GEToperation to URLhttp://<IP>/api/events).=0A=0ABut when tried with=
POST operation, to add my own events, it threw "error 405 Method not allowe=
d". (URLhttp://<IP>/api/events).=0A(The html file is not included in any pl=
ugin code, its standalone file).=0A(The data I passed is as specified in li=
nk: =A0"
http://www.ovirt.org/Features/Design/DetailedExternalEvents").=0A=
=0AWhat went wrong? =A0Is it not supported on oVirt3.2 or the URL is incorr=
ect?=0A=0ARegards=0ASatheesh J
--347019335-505193291-1362674185=:59623
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
<html><body><div style=3D"color:#000; background-color:#fff;
font-family:ti=
mes new roman, new york, times, serif;font-size:12pt"><div
style=3D"font-fa=
mily: 'times new roman', 'new york', times, serif; font-size:
12pt;">Hi,</d=
iv><div style=3D"font-family: 'times new roman', 'new york',
times, serif; =
font-size: 12pt;"><br></div><div style=3D"font-family:
'times new roman', '=
new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-c=
olor: transparent; font-style: normal;">I tried exploring the feature of ad=
ding external events in oVirt. (<span style=3D"font-weight: bold;">Version
=
3.2</span>)</div><div style=3D"background-color:
transparent;"><span style=
=3D"font-family: 'times new roman', 'new york', times,
serif;">I just wrote=
a JavaScript to fetch events and it wroked fine.(</span><span
st=
yle=3D"color: rgb(0, 0, 0); font-family: 'times new roman', 'new
york', tim=
es, serif; font-size: 16px; font-style: normal; font-weight: bold;">GET</sp=
an><span
style=3D"font-family: 'times new roman', 'new york', times,
serif;"> opera=
tion to URL</span><span style=3D"color: rgb(0, 0, 0); font-family:
'times n=
ew roman', 'new york', times, serif; font-size: 16px; font-style: normal; f=
ont-weight: bold;"> http://<IP>/api/events</span><span
style=3D"font-=
family: 'times new roman', 'new york', times,
serif;">).</span></div><div s=
tyle=3D"font-family: 'times new roman', 'new york', times, serif;
font-size=
: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: nor=
mal;"><br></div><div style=3D"font-family: 'times new
roman', 'new york', t=
imes, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transp=
arent;"><span style=3D"font-style: normal;">But when tried
with<span style=
=3D"font-weight: bold;"> POST</span> operation, to add my own events,
it th=
rew "</span><span style=3D"font-style: italic; text-decoration:
underline;"=
error 405 Method not allowed</span>". (URL<span
style=3D"font-style: norma=
l;
font-weight: bold;">
http://<IP>/api/events</span>).</div><div style=
=3D"font-family: 'times new roman', 'new york', times, serif;
font-size: 16=
px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;=
">(The html file is not included in any plugin code, its standalone file).<=
/div><div style=3D"font-family: 'times new roman', 'new york',
times, serif=
; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font=
-style: normal;">(The data I passed is as specified in link: "
http:/=
/www.ovirt.org/Features/Design/DetailedExternalEvents").</div><div
style=3D=
"font-family: 'times new roman', 'new york', times, serif; font-size:
16px;=
color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><=
br></div><div style=3D"font-family: 'times new roman', 'new
york', times, s=
erif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; =
font-style: normal;">What went wrong? Is it not supported on oVirt3.2
or the URL is incorrect?</div><div style=3D"font-family: 'times new
roman'=
, 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); backgroun=
d-color: transparent; font-style: normal;"><br></div><div
style=3D"font-fam=
ily: 'times new roman', 'new york', times, serif; font-size: 16px; color:
r=
gb(0, 0, 0); background-color: transparent; font-style: normal;">Regards</d=
iv><div style=3D"font-family: 'times new roman', 'new york',
times, serif; =
font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-s=
tyle: normal;">Satheesh J</div></div></body></html>
--347019335-505193291-1362674185=:59623--