Spring rest api filter fields in the response
I am using spring rest api 4.x. We have a requirement to filter the fields in the response based on the request parameters.My User object:private class UserResource { private String userLastName;...
View Articleunderstanding the error response to an http request to rest api
This is a simple request to a REST API using AXIOS: await axios.request({ url: 'https://gorest.co.in/public/v2/users', method: 'POST', data: {"id":2925,"name":"Himani...
View ArticleIs it possible to accept file without any key in multipart-formdata? (blank key)
In multipart formdata we accept the parts as with key-value pairs, is it possible to handle request with file without any key?curl --location --request GET 'endpoint'--form...
View ArticleMicrosoft 365 admin center REST API :: why User Principal Name & Display Name...
I'm getting extensive help from Sridevi and I noticed that the data that he is pulling they are including:User Principal Name which is the e-mail of the userDisplay Name: which are name and surname of...
View ArticleOptions on running the same API call 1.5M times with one value changing [closed]
I need to send 1.5M API calls to add something to our customers. I want it to go as fast as possible. We are in AWS. I tried POSTMAN and it actually does good for a 3 hours, then I think it crashes....
View ArticleIs it possible to have a healthcheck page accessible during heavy loading of...
I have an API built in Flask_restx that requires approximately 10 minutes to load various machine learning models. During this period, I need an accessible endpoint to satisfy the healthcheck needs in...
View ArticleEnabling Cross domain Access in WEBHDFS REST Api to be used by JavaScript?
I am trying to GET liststatus from the Webhdfs rest api, but getting the following error. XMLHttpRequest cannot load http://<IP>:50070/webhdfs/v1/?op=LISTSTATUS. No 'Access-Control-Allow-Origin'...
View ArticleMaximizing Backend Performance (NodeJS / Express)
I am building a high-performance REST API. My goal is at least 10k req/s with less than 400ms latency (while testing locally). Ideally something close to 15-20k. Machine that I use for testing is an...
View ArticleGet Diff Stat for Pull Request BitBucket Server REST API
I am working on some adapter implementation for Bitbucket Server. There is one already for Bitbucket Cloud, I want to be able to get the diffstat for a pull request. I could easily do that for Cloud by...
View ArticleUnable to filter emails by multiple categories with Graph API
I am trying to filter emails by multiple categories with Microsoft Graph, but I'm not able to get it to work. I found this thread which gives me a query to filter by category 1 OR category...
View ArticleHow to get lastSignInDateTime from Azure AD through postman
I need to fetch lastSignInDateTime from Azure AD through postman.May I know how i can the fetch the details of the usersI tried with below url but its not working for...
View ArticleHow do you access a patient's data via FHIR API?
My local hospital uses Epic's MyChart, which should implement the standard FHIR API. How can I authenticate and access my data through a script? There are a million websites like https://onerecord.com/...
View ArticleTwilioRestException when sending SMS using Twilio
import osfrom twilio.rest import Clientaccount_sid = 'my_account_sid'auth_token = 'my_auth_token'client = Client(account_sid, auth_token) def send_sms(user_code , phone_number): message =...
View ArticleIs it possible to see the request coming in to an SCDF Server?
An external service tries to start a SCDF Task with a Rest call. But I only see it's missing some properties it should have.Is it possible to see the exact call that is coming in to the SCDF Server? I...
View ArticleProgram getting randomly stuck during REST API calls in python
I have python code which makes REST API calls and also connects to a websocket.Every now and then the code gets stuck for many minutes and when I trigger any event on the terminal window (like maximize...
View ArticleHTML form submit giving 400 bad request
I'm submitting a HTML form to REST(eXist db) web service using POST method.A normal submission is giving 400 bad requestHere is my HTML code<html><script type="text/javascript"> /* function...
View ArticleHow can I use a variable inside of HTTP request in Copilot Studio Chatbot...
I'm trying to get some information of an environment, and I asked before the phone Number of the person in a chatbot, and after that I would like to use this phoneNumber inside of HTTP request, like...
View ArticleCreate post wordpress.com using rest API
I want to make PHP app to create post on wordpress.com using REST API.I use this code:<?php$curl = curl_init( 'https://public-api.wordpress.com/oauth2/token' );curl_setopt( $curl, CURLOPT_POST, true...
View ArticleMaking REST call to a service installed in the same org
How would I authenticate to a REST service from a Flow Action when the REST service is installed in the same Salesforce org where my Apex is running?The scenario is that I have written a custom flow...
View ArticleRESTEasy + Weld (CDI) in WAR file deployed to Jetty 11 doesnt seem to work
I'm trying to deploy a WAR file to Jetty 11 that includes REST service written using RESTEasy which uses CDI (Context & Dependency Injection) via Weld, but it doesn't seem to work.The project is...
View Article