I have an API http://studentresults.com/studentresults?studentname=xyz&date=dd/mm/yyyy
With the above url, I get JSON
information w.r.t to student name on that date of examination.
I can get the JSON
information for single student by parsing url using node js.
Now I have 15 students. How to get to all the information on that particular day of examination so that I create object such as
{
"date": dd/mm/yyyy
'studentresults': [
{ 'studentname' = xyz , marks = 500 },
{ 'studentname' = abc , marks = 525 },
so on
]
}
In the above url, by changing the student name we get information of one student details. if i need to get all the students details how it can be done ? instead of changing every time how can i pass a array of studentnames to url so that i can all the information at once ?