API

Protect your API/auth keys by keeping those out of your Visual Studio Code settings

While implementing the i18n (internationalization) features in Front Matter CMS, I wanted to include the ability for users to use DeepL to translate their content automatically. To be able to use DeepL, you need to have an authentication key, and the user will provide this authentication key. Initially, I defined it as a configurable setting in the extension.

Read more

Test the unexpected API results with Playwright mocking

When building applications, you can expect things to go wrong. For instance, calls you make to APIs like a server issue, incorrect formatted body, throttling, and much more. A great tool to locally test these unexpected scenarios is Microsoft 365 Developer Proxy which can be used for both Microsoft 365 APIs, but also for any other APIs.

Read more

#DevHack: Fetching sponsors via the GitHub GraphQL API

To automate the roll-up of sponsors for Front Matter on the website. I started to look through the GitHub Rest API documentation to check it could receive this kind of information. Unfortunately, the Rest API does not provide you with this information, so I went to where the cool kids go these days, GraphQL.

Read more

Change is here - Rapid API here I am

Over the last couple of months, I have been working at a great company. When the time comes, I’ll be able to tell you more about it. Some of you might know where I moved. For the ones that don’t, I can say it wasn’t a Microsoft focussed company. I have been interested in seeing how other companies and technology stacks are progressing.

Read more

#DevHack: Dismiss messaging extension dialog in MS Teams

Currently, I am developing my first “real” Microsoft Teams app with SharePoint Framework. In this app, I am making use of the new messaging extension capability. Info what are messaging extensions? While developing a form in my extension, I wanted to cancel and submit a button. When I started implementing the cancel button, its onClick event, I was lost in how to close the dialog.

Read more

#DevHack: Create SharePoint library with the Microsoft Graph

When you are reading this, you are looking to create a SharePoint library from the Microsoft Graph. It is straightforward but a bit confusing because you will have to use the lists endpoint. When you are a SharePoint developer, we all learned that a list is not the same as a library, and lists get created under the /lists/ URL path.

Read more
Back to top