Category "rest"

Web API Pagination using List.Numbers Works in PowerBI Desktop but not in PowerBI Service

I have a PowerBI report that uses both a Web URL and SQL Server data. The Web URL only returns 100 rows per page, so I followed this tutorial to loop through t

Java Time & Rest API

I’ve red multiple articles and discussions and still I have some uncertainty: I’m not sure if I should use Instant or any other type to store Bookin

Call RestApi endpoint resource from EJB

I have been looking around for sample code how to call a Restful service written in Spring boot (deployed in different server/ip) from an EJB client. I couldn't

Loopback 4 auto generated model with required id failing validation

I'm using an automated script that runs an auto-generation model using lb4 cli. Looks like validation expects id to be provided, but swagger missing it in its s

Fetch Forms' Data (Submission Table) From Wix to a Custom CRM

I have developed a CRM Application in which I am fetching Leads from Facebook Ads via Graph API through Bulk Read. I want to do the same with WIX but I am unabl

How to separate tables based on the model using FSM and FSM-Log?

I'm currently logging status changes to several models in my Django REST API using the django-fsm and django-fsm-log packages. However, all of the logs are stor

should I consider the case sensitive when design the rest api url

Now I am design a rest api, what makes me confusing is that the url case sensitive, for example, the /currentUser, I read some api design like google: https://d

difference between django and django rest framework

Okay I just finished a YouTube course on Django tutorials and i more or less understand Django to an extent. Now the issue is Django rest framework. Google says

How can I use the filter() function to filter this set of data from API?

API Call code: const settings = { "async": true, "crossDomain": true, "url": "https://v3.football.api-sports.io/fixtures?date=2021-04-07", "method": "GET", "hea

WSO2 Enterprise Integration: POST request give CORS Error

I have Restful APIs. I want to use WSO2 EI. I use WSO2 Integration Studio. When I do that all GET request works well. But POST request gets CORS error when I se

Is it possible to make local HTTP calls in Blazor Server?

We are using Blazor Server for our application. Some of our users have intranet rest web api's in their local environment that is not accesible from outside wor

HTTP PATCH to check if handler is available

Can I use HTTP PATCH on endpoint /users to check if some handler is available?

How to implement pagination for fastapi with mongo db(Motor)

I have a simple REST api which is a books store created with FastAPI and mongo db as the backend (I have used Motor as the library instead of Pymongo). I have a

JS Function won't generate necessary buttons

I am currently making a budget version of UNO using Java and JavaScript and I am running all of it on a GlassFish Server. I made a function to generate the star

REST Api Design - Opinion on a design choice

I have an API that is connected to a database and where I retrieve data. One schema example: The idea is to retrieve all related data based on the Application

Correct way to pass multiple values for same parameter name in GET request in javascript or nodeJs

I wanted to write the response like this using nodeJs: http://server/action?id=a&id=b Or http://server/action?id=a,b

Using NTLM/Kerberos on RestSharp since v107

Since some time it seems the NtlmAuthenticator of RestSharp is deprecated. The somewhere mentioned method of setting setting.UseDefaultCredentials = true; isn't

Why Chrome Dev tools (network tab) doesn't show the response for a request? (Failed to load response data: No resource with given identifier found))

I have been unable to deduce why Chrome(97.x.x.x) is unable to load the response for a successful POST XHR. It displays the following message in the response se

kibana-Unable to retrieve version information from Elasticsearch nodes.missing authentication credentials for REST request

Im trying to Install kibana 8.1.1 on windows10 the thing is when it starts installions it stops on an error like that [2022-04-16T01:16:59.744+00:00][ERROR][ela

Rest API Healthcheck Best Practices-Looking for Resources

TLDR: I have been googling and finding opinions and blog posts but looking for some established (if any) Best Practices for Rest API Healthcheck development. I