Ben-Avrahami / Tindira

0 stars 1 forks source link

function: isUsernameAvailable #91

Closed yonisimian closed 4 months ago

yonisimian commented 4 months ago

signature: isUsernameAvailable(username: string): boolean

path: /user/check

type: GET

query parameter: username (of type string)

body: empty

This function will be used when signing up such that the user can see immediately if his username is available.

OmerK100 commented 4 months ago

Done, check it

yonisimian commented 4 months ago

Weirdly, I get "Hello from Lambda!" regardless of the query string (even without passing any query strings at all). image

Could the function not be routed correctly to the API Getway?

Edit: the answer is yes :) image

OmerK100 commented 4 months ago

Oi

OmerK100 commented 4 months ago

Forgot to upload, silly sausage