This api will be used in the official IEEE-Website for interaction with the frontend, idk when that will be build.
sd-team is the API_KEY
https://ieee-uvce.000webhostapp.com
?add=1
?update=1
?delete=all
?delete={id of the record}
?fetch=all
?fetch={id of the record}
Must send a request to add request --> ?add=1
?add=1&heading = {Post heading here}
?add=1&subheading = {Post subheading here}
?add=1&form-link = {form-link here}
?add=1&img = {img_link_here}
?add=1&last-date = {last date here}
https://ieee-uvce.000webhostapp.com?add=1&heading={heading}&subheading={subheading}&form-link={form-link}&last-date={last-date}&img={img_url_here}
Its not required that all these Parameters have to be passed to insert the record, however heading
and subheading
Parameters are compulsary/required and without which other Parameters will not take effect.
Must send a request to update request --> ?update=1
?update=1&id = {Post id}
?update=1&heading = {Post heading here}
?update=1&subheading = {Post subheading here}
?update=1&form-link = {form-link here}
?update=1&img = {img_link_here}
?update=1&last-date = {last date here}
https://ieee-uvce.000webhostapp.com?update=1&id={id to be updated}&heading={heading to be updated}&subheading={heading to be updated}&form-link={form link to be updated}&last-date={last date to be updated}&img={image url to be updated}
Its not required that all these Parameters have to be passed to insert the record, however id
Parameter is compulsary/required and without which other Parameters will not take effect.
Must send a request to fetch posts request
?fetch=all
this fetches all the posts, or
?fetch={id of the specific post}
https://ieee-uvce.000webhostapp.com?fetch=all
or
https://ieee-uvce.000webhostapp.com?fetch={id of the post}
Must send a request to delete posts request
?delete={id of the specific post to be deleted}
https://ieee-uvce.000webhostapp.com?fetch={id of the post to be deleted}