fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

9.9K
active users

#restapis

0 posts0 participants0 posts today
Miguel Afonso Caetano<p>"Getting to this point isn’t unusual. Clients clearly think they’re making the call correctly, or else they would fix the endpoint themselves. Some misspellings are difficult to catch. The enum USER_RETREIVE may not be noticed from USER_RETRIEVE, especially if picking it from a list. Misspellings happen and they’re not always caught before making it to the contract. As an aside, that’s why it’s important writers routinely check development’s changes. This applies, too, to our testing calls in Postman, where manually entering endpoints and values are more pervasive.</p><p>The reason this isn’t caught is simple: We’re not expecting it.</p><p>For our testing, the call is made and we get results. We may even spot check some of them. But generally, results aren’t examined that closely. For instance, how often do you so carefully examine a returned list of 50 or 100 items? You check may check that the objects are complete but not that the list conforms to the search criteria.</p><p>The reason this happens is because of an intentional behavior on the server. This behavior is called Lenient Handling or Strict Handling."</p><p><a href="https://robertdelwood.medium.com/understanding-query-parameter-handling-in-rest-calls-1821e0c3fa8c" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">robertdelwood.medium.com/under</span><span class="invisible">standing-query-parameter-handling-in-rest-calls-1821e0c3fa8c</span></a></p><p><a href="https://tldr.nettime.org/tags/APIs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>APIs</span></a> <a href="https://tldr.nettime.org/tags/RESTAPIs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RESTAPIs</span></a> <a href="https://tldr.nettime.org/tags/Rest" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Rest</span></a> <a href="https://tldr.nettime.org/tags/APITesting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>APITesting</span></a> <a href="https://tldr.nettime.org/tags/APIDesign" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>APIDesign</span></a> <a href="https://tldr.nettime.org/tags/APIDocumentation" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>APIDocumentation</span></a> <a href="https://tldr.nettime.org/tags/SoftwareDevelopment" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SoftwareDevelopment</span></a></p>
LavX News<p>Revolutionizing REST APIs: The Rise of TypeAPI for Type-Safe Code Generation</p><p>In an era where precision and safety in code are paramount, TypeAPI emerges as a game-changer for developers. This innovative tool not only simplifies the mapping of HTTP requests but also ensures typ...</p><p><a href="https://news.lavx.hu/article/revolutionizing-rest-apis-the-rise-of-typeapi-for-type-safe-code-generation" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">news.lavx.hu/article/revolutio</span><span class="invisible">nizing-rest-apis-the-rise-of-typeapi-for-type-safe-code-generation</span></a></p><p><a href="https://mastodon.cloud/tags/news" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>news</span></a> <a href="https://mastodon.cloud/tags/tech" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tech</span></a> <a href="https://mastodon.cloud/tags/TypeSafety" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TypeSafety</span></a> <a href="https://mastodon.cloud/tags/CodeGeneration" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CodeGeneration</span></a> <a href="https://mastodon.cloud/tags/RESTAPIs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RESTAPIs</span></a></p>
Ric<p>Polished up the page summarising our various public APIs. There are still a few others that I intend to open up access to and add here, but these alone are already a fairly powerful toolkit 😉</p><p>Boosts/questions welcome.</p><p><a href="https://apis.qweb.co.uk/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="">apis.qweb.co.uk/</span><span class="invisible"></span></a></p><p><a href="https://fosstodon.org/tags/WebDev" class="mention hashtag" rel="tag">#<span>WebDev</span></a> <a href="https://fosstodon.org/tags/WebDevelopment" class="mention hashtag" rel="tag">#<span>WebDevelopment</span></a> <a href="https://fosstodon.org/tags/RESTAPIs" class="mention hashtag" rel="tag">#<span>RESTAPIs</span></a></p>
Crypto News<p>Circle launches Web3 development platform for Web2 developers - Circle announced the launch of a new platform that uses pre-vett... - <a href="https://cointelegraph.com/news/circle-launches-web3-development-platform-web2-developers" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">cointelegraph.com/news/circle-</span><span class="invisible">launches-web3-development-platform-web2-developers</span></a> <a href="https://schleuss.online/tags/smartcontractplatform" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>smartcontractplatform</span></a> <a href="https://schleuss.online/tags/smartcontract" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>smartcontract</span></a> <a href="https://schleuss.online/tags/gasstation" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gasstation</span></a> <a href="https://schleuss.online/tags/avalanche" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>avalanche</span></a> <a href="https://schleuss.online/tags/restapis" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>restapis</span></a> <a href="https://schleuss.online/tags/ethereum" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ethereum</span></a> <a href="https://schleuss.online/tags/truffle" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>truffle</span></a> <a href="https://schleuss.online/tags/hardhat" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hardhat</span></a> <a href="https://schleuss.online/tags/polygon" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>polygon</span></a> <a href="https://schleuss.online/tags/circle" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>circle</span></a></p>
James Bartlett :terminal:<p>I've been working on <a href="https://techhub.social/tags/PowerBits" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PowerBits</span></a> (a collection of <a href="https://techhub.social/tags/PowerShell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PowerShell</span></a> scripts for <a href="https://techhub.social/tags/PowerBI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PowerBI</span></a> 📊 <a href="https://techhub.social/tags/Admins" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Admins</span></a>) recently, and I just made a minor breakthrough. 💪😎👍</p><p>One of the biggest missing features of the Power BI <a href="https://techhub.social/tags/RESTAPIs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RESTAPIs</span></a> right now is the ability to export a <a href="https://techhub.social/tags/Dataset" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Dataset</span></a> as a <a href="https://techhub.social/tags/PBIX" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PBIX</span></a> file. Of course, you can export a <a href="https://techhub.social/tags/Report" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Report</span></a> as a PBIX file, and if that Report is bound to a Dataset, then the Dataset will be included with the Report when you export it. However, if the Dataset you need to export doesn't have a Report bound to it (I've started calling this a <a href="https://techhub.social/tags/BareDataset" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BareDataset</span></a>), then the <a href="https://techhub.social/tags/RESTAPI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RESTAPI</span></a> can't help you. That Dataset can only be exported manually from the Power BI Service using a web browser. Yuck! 🤮</p><p>To solve this problem:<br>1. Find and select a target <a href="https://techhub.social/tags/BareDataset" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BareDataset</span></a><br>2. Upload a <a href="https://techhub.social/tags/BlankReport" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BlankReport</span></a> to the same <a href="https://techhub.social/tags/Workspace" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Workspace</span></a><br>3. Re-bind the blank Report to the bare Dataset<br>4. Export the blank Report as a PBIX file<br>5. Delete the blank Report from the Workspace</p><p>Step 1 Complete (mostly) 😅:<br><a href="https://github.com/JamesDBartlett3/PowerBits/blob/main/PowerShell/Get-PowerBIBareDatasetsFromWorkspaces.ps1" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/JamesDBartlett3/Pow</span><span class="invisible">erBits/blob/main/PowerShell/Get-PowerBIBareDatasetsFromWorkspaces.ps1</span></a></p>