Not saving into Database with RESTApi

NeidennXNeidennX Member ✭✭

Hey guys, i have this code for saving some content into an Azure Database, the fields that i have are

Name(string), Lastname(string), Date of birth(DateTime), Illnes(string), Email(string), Phone(int)

but when i try to save it it's basically not working, is throwing me the "Couldn't save data" message that i typed in a validation, idk if im doing something wrong

This is the code to send the information to the database

Best Answer

  • NeidennXNeidennX ✭✭
    Accepted Answer

    I found the solution, apparently there was some trash code in the connection to the server when i published the API, i fixed it selecting the option "Remove additional Files at destination" in the File Publish Option

Answers

Sign In or Register to comment.