sbshah97 / surrealdb-go-starter-project

SurrealDB Starter Project using Go
Apache License 2.0
6 stars 2 forks source link

Integrate DELETE with surreal delete method #12

Open sbshah97 opened 11 months ago

sbshah97 commented 11 months ago

What happens right now?

Right now this returns 4xx

How do I reproduce / test this

curl --location --request DELETE 'http://localhost:8080/users/{userId}'

What needs to be done?

A user will need to be created via the post method before deleting it. It will output a userID which can be used instead of userId

Similar PRs to look at