curlyLasagna / COSC435_Project

0 stars 0 forks source link

Perform a GET request and print data #6

Open curlyLasagna opened 2 weeks ago

curlyLasagna commented 2 weeks ago

Perform a GET HTTP request of the payload

Link to API:

https://involved.towson.edu/api/discovery/event/search?endsAfter=2024-10-28T21%3A10%3A11-04%3A00&orderByField=endsOn&orderByDirection=ascending&status=Approved&take=15&query=

Event struct

It must have the following properties

List of events

Store all event structs into a list called events of type event

Loop and print the list of events in the console