Angular 7 post request with body and header
I am trying to do a post request with body and header. Below are some of the variations I have gone through, but for the most part I am getting error on the server saying that the parameter, 'key', was...
View ArticleHow to parse RESTful API response with powershell that doesn't have key...
I'm writing a powershell script to call a RESTful API and I need to parse the response. I'm having trouble parsing the response because there isn't a key name to the array. The API just returns...
View ArticleWhere do you set default values when registering a user?
i am currently developing a web application in which the user should have the possibility to register. For this I have built a VueJS web application and a Golang REST API.However, the backend is now to...
View ArticleHow do I configure Kafka SCRAM users and user quotas using REST API?
I'm maintaining some Confluent Community Kafka clusters, and I am mostly using a combination of manual CLI and Ansible together with the supplied Kafka CLI tools to do things like create new users,...
View ArticleError encountered during CLI Lambda function deployment using DotNet WebApp
I am trying to deploy my DotNet WebAPI to AWS lambda using CLI.I have followed the process according to the below tutorial link -Serverless ASP.NET Core Web API with AWS LambdaWhen I executedotnet...
View ArticleHow to login user using rest api in yii2
I new in yii2, I want login user using rest api but unable to do this.I have setup basic REST API From This blog: budiirawan.com/setup-restful-api-yii2/After that I have created...
View Articlepage.waitForFunction not working as expected - npm puppeteer
I have 2 function to wait in my script // Wait for message to show up page.waitForFunction("document.querySelector('div#message').textContent.includes('string inside message')") .then(() => { return...
View ArticleRestrict particular Rest API not to be accessed but deploy the code
I have deployed my .net core code in IIS and NGINX. Is there any way that I can restrict user not to use the particular API and not to deploy code again?Or if i have to deploy again, is there any way...
View ArticleGoogle FIT: Getting food item type (like banana, milk, Pasta, tea etc.) and...
Can we retrieve food item type (like banana, milk, Pasta, tea etc.) and meal type (like breakfast, lunch, snack and dinner) when the food item is consumed using Google Fit API? The nutrition data is...
View Articlefetch data from strapi 4 with populate and filter
i am using strapi 4. I want to fetch data with ** populate parent** of table **features ** is null.it will works when i use API:/projects?populate[features][populate]=parentbut when i use this API to...
View ArticleBest Practices for RBAC/ABAC in REST API with mandatory and optional...
I am currently working on a REST API where we've traditionally indicated which fields are mandatory and which are optional in the response or DTO. This has been straightforward as each endpoint had a...
View ArticleHow to call Netsuite RESTlet from Salesforce?
I am new in integration. I have created RESTlet script in Netsuite. Now I want to pass customer ids from Salesforce to Netsuite. How to make a call from salesforce to Netsuite? Please advice.Below is...
View ArticlePostman/OpenApi 3.0.0 : import file with remote reference fails
When I import a specification file (OpenApi 3.0.0) containing remote references to schemas and requestBodies description, Postman is not able to find schema for response from my spec file.The...
View ArticleDataSnap - Object as server method parameter
Is it currently (Delphi 12) possible to write in server method parameters some class and receive it from simple JSON?Now I have:type TTestParam = class fVal1: Integer; end; {$METHODINFO ON} TTest =...
View ArticleHow to solve login error in flutter app with php API
I worked on login in flutter app with API and the opreation done very successfully but when I add fetch data for client to take id and name and transfer between pages happend error socket expectation....
View ArticleVisual Studio 2022 httpfile global variable for all files
We can create .http file in Visual Studio 2022 and call APIs. In each file we can defines a variable by using the syntax @VariableName=Value - for example:@url = https://localhost:7000/apiIs it...
View ArticleSpring Boot 3.2.5 RestClient POST with form args
I'm using Spring Boot 3.2.5 and the new RestClient class to call a POST the requires url encoded form arguments. I'm sending a Map as the body and it keeps trying to convert to JSON which is not what...
View ArticlePublishing events with priority attribute set
How does one go about setting the priority to a given message while publishing to Solace via REST API? Is it an HTTP header? Metadata attribute?
View ArticleWhat are some efficient ways to manage web socket connections?
I am working on an application that is solely based on web sockets for all kinds of data transmission to the server. However, I am concerned that on scaling it might be difficult to manage all...
View ArticleDynamic filter options using shorter URLs
What if we want to have GET requests send from a Frontend App to a REST API where the parameters can be huge?The scenario is an endpoint that can receive a huge amount of filters, by huge is over 7k...
View Article