0

upcoming API with ASP

Hi,

My wife was struggling with this.Thought of helping her but alas now even I am in trouble.

I am using generic ASP along with upcoming api to post event. The code is given below

<form action="http://upcoming.yahoo.com/services/rest/" method="post" name="events">
<input type="hidden" name="api_key" value="<%=api_key%>">
<input type="hidden" name="token" value="<%=token%>"/>
<input type="hidden" name="method" value="<%="event.add"%>" />
<input type="hidden" name="name" value="<%=CheckSQL(Request("EventName"))%>" />
<input type="hidden" name="venue_id" value="<%=venue_id%>" />
<input type="hidden" name="category_id" value="1" />
<input type="hidden" name="start_date" value="<%=EventDate_EventFormat%>" />
</form>
<script>
The parameters have the followig value which are valid
api_key=b2b30dcaaf
token=b1515fb2c91ed884e15bc5927ddf082d0d6558b4
Name=Test event by Seree
venue_id=131308
start_date=2010-03-30
category_id=1
method=event.add

Can somehelp help me in how to post these details with upcoming API in ASP.Somewhere I am doing some mistake becuase I couldn't serach this event in yahoo upcoming event search form.

Any help would be much appreciated.

Thanks and Regards,
Zainu

by
1 Reply
  • Hi Zainu,

    Parameter names are case-sensitive. Try re-sending that request with 'Name' in lower-case (i.e., 'name').

    Thanks,
    Greg
    0
This forum is locked.

Recent Posts

in Upcoming API - General Questions