Simple web app that lets citizens report cases of corruption to the appropriate authorities. Users can also report on things that needs government intervention.
2
stars
0
forks
source link
#163187158 Consume api endpoint to create red-flag and intervention reports #41
What does this PR do?
This PR connects the create report page with the corresponding api endpoint for the user to create a new red-flag or intervention report from the user interface.
Description of tasks
Use vanilla Javascript Fetch API to make requests to POST/ api/v1/red-flags and POST /api/v1/interventions endpoint to create a red-flag or intervention report respectively
What does this PR do? This PR connects the create report page with the corresponding api endpoint for the user to create a new red-flag or intervention report from the user interface.
Description of tasks
How can this PR be tested
What are the relevant pivotal tracker stories? #163187158
Screenshot