1003
submitted 2 years ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 223 points 2 years ago* (last edited 2 years ago)

Here's an article about it: https://dev.to/maggiecodes_/how-i-applied-to-a-tech-job-using-a-post-request-193d

The thing that annoys me is the response. It should return status 201 created and the id of the new resource for future delete/update operations. Instead it returns 200 ok and some clear text. Wouldn't want to work with such an API.

[-] [email protected] 174 points 2 years ago

/serious Well, yes, most APIs are meant for system-to-system interaction, that's kind of a given. But since this particular API is clearly meant for human-to-system interaction, returning a human-readable response is adequate. Yes, a better design would probably allow the client to specify additional parameters about the desired response.

/back-to-jokes Yeah, well this kind of sums up most of my job applications. I send an application and the recruiting people are all like "OK".

[-] [email protected] 119 points 2 years ago

At least you do get a response.

[-] [email protected] 37 points 2 years ago
load more comments (3 replies)
load more comments (11 replies)
this post was submitted on 29 Jul 2023
1003 points (98.5% liked)

Programmer Humor

37243 readers
111 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS