Software engineering and personal development

Tag: api

Inform your users about breached passwords using Pwned Passwords API

Img source: dev.to

Passwords one of the most frequent ways that we use to access our digital accounts. Having secure passwords is really crucial, and represents one of the most important aspects that we need to pay attention to. As developers, we also need to make sure that we provide our services with a high level of security. Last year 2017 NIST (National Institute of Standards and Technology) recommended to check user passwords against existing public breaches of data, and fortunately, there exists an API that allows you to do that really easily. Continue reading

Remove duplicate items from the left menu on rails_admin with this configuration

Img source: Stackoverflow

I recently had an issue with Rails Admin, which was displaying duplicate models in the left hand side menu. It was something that I had not encountered before, and it turned out, it was a rare occasion, as I could not find that much coverage about it. I also saw that this unanswered question related to this problem was published more than a year and a half ago in StackOverflow. This is the reason why I decided to write this post. Continue reading

How to send a base 64 encoded image to an API endpoint in Ruby on Rails

Img source: java67.com

I recently had to upload an image to an API endpoint in Rails, and did not found that much material online, so I decided to write this article describing how I managed to do this.

I was building an API that had to interact with an authentication micro service, where the request parameter was a Multipart image of a user file that should then be encoded in base 64 and get uploaded to AWS. Continue reading

Quickly access API documentations of your favorite languages with these two applications

 

Img source: makeuseof.com

It is no surprise that you may need to work with different programming languages, or at least use many methods. You may not be sure how do you call a method, how many parameters does it have, or the type of objects for each parameters. During these cases, having a quick look up on the API documentation helps you immensely. Continue reading

Develop rich content applications with the help of public APIs

Img source: gis-blog.com

Application Programming Interfaces (API) have become something commonly widespread for a lot of applications. They are used to make a central implementation of business logic requirements, which can then be easily maintained, changed, and used from multiple clients implemented in different stacks of technologies. A typical end user might not be informed about the existence of APIs, but he is most likely enjoying the benefits of APIs. Knowing that there are very popular applications that have public APIs which you can leverage for your applications, it is time to think using them a lot more.

© 2024 Fatos Morina

Theme by Anders NorenUp ↑