Endpoint not found

Hi
I can 't found the endpoint : “/appointment” (POST) , called by the function : “multiAppointmentBooking” in “pre-registration-application-service” project

This “pre-registration-application-service” has endpoints ​/applications​/appointment and not just ​​/appointment.
Just ​​/appointment endpoint is available in “pre-registration-booking-service”.

Hi @mayuradesh
I can’t find “pre-registration-booking-service” , can you share with me the link of this project.

1 Like

@mayuradesh Thank you , but i have a problem to save the data in the database , i have notice that the name of database in application.properties is : "javax.persistence.jdbc.url=jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1;INIT=RUNSCRIPT FROM ‘classpath:create-schema.sql’
" so the project use h2, i think they use something else ?

No, all MOSIP modules use postgres.
Please check values in application.properties in pre-registration-application-service.

javax.persistence.jdbc.driver: org.postgresql.Driver
javax.persistence.jdbc.password: 
javax.persistence.jdbc.url=jdbc:postgresql://${url}:${port}/mosip_prereg
javax.persistence.jdbc.user: postgres