Jawen
Jawen

Reputation: 1444

Is it a bad practice using email address in GET requests in Hypermedia API

I'm currently in the design process of an hypermedia REST API. I want to know if there is any recommendation about passing email addresses as URL parameter in GET requests.

thanks in advance

Upvotes: 0

Views: 392

Answers (1)

Bonatti
Bonatti

Reputation: 2781

Emails are usually not seen as critical or sigilous information, and therefore can be transported in open.

If you would like to offer some security, just encode the email using some transformation, then decode on the server.

Upvotes: 2

Related Questions