never worked on APIs.
The thing is I have an API and my need is, user will submit three parameters
- electricity_bill
- roof_area
- pincode
after submitting these parameters, the api will be called and then there will be checking against another parameter -> “resident_serviceable”.
Now if it’s value is “YES” then I have to show some data otherwise there will be an error message.
As I described earlier never worked on APIs, I am unable to do this.
Please help!!
Thank you
API Details
API Type: POST
Endpoint: http://3.108.0.8:5000/sunedison_solar_sense_api
Bearer Token: aHVic3BvdC1jb25zdW1lcjpibHVlb3NoYW4
Body
form-data
electricity_bill 15000
roof_area 200
pincode 560025