Skip to content

Instantly share code, notes, and snippets.

@rostegg
Last active October 12, 2022 14:51
Show Gist options
  • Save rostegg/a8e71807725d00e8eecef7a2f20b3cab to your computer and use it in GitHub Desktop.
Save rostegg/a8e71807725d00e8eecef7a2f20b3cab to your computer and use it in GitHub Desktop.

Create two Azure Functions:

Public IP

After receiving GET request, return to the user his public ip, not using any third-party service (it can be received from request headers, google how)

Response type, structure, etc at your own discretion

Image metadata extractor

After receiving request (type of requst at your discretion) with image url (like this url), exctact CREATION_DATE AND IMAGE_SIZE metadata and return them to the user. Choose on of the image format: PNG or JPEG

Also function must have caching for already used links. Type and realization of cache at your own discretion

Response type, structure, etc at your own discretion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment