How to assemble preemptive auth in curl command , while using POST method
I need to use POST method for a REST API.It's working perfectly in SOAP UI while i select "Preemptive Authentication" , I need to assemble this authentication option in Curl. At Web service ,...
View ArticleRest API for Kafka
I need to write a REST API for kafka which can read or write data from consumer/producer respectively.How can I do so?
View ArticleComponent is not making an API call
This question is also from the library management system I am working on, there seems to be some problem with my slice functionimport { createSlice, createAsyncThunk } from "@reduxjs/toolkit";import...
View ArticleDifference between a collection and a store in the context of REST API
What is the exact difference between a collection resource archetype and a store resource archetype in the context of REST API, I have been reading this book called REST API Design Rulebook and not...
View ArticleRedis client initialization Issue in Node Js application
I have a simple backend application built with Node.js.The directory structure as belowand this is GitHub Repository Linkhere below is the code of server.js file// server.jsconst express =...
View ArticleExclude user's password from query with Prisma 2
Recently I started working on a new project to learn some new technologies (Prisma 2, REST api with Express, etc.). Tho, I faced a problem.My app has a user authentication system and the user model has...
View ArticleDelphi REST POST with multipart/form-data
I need to implement in Delphi a requested REST POST satisfying the following conditions:Must include a custom headerPayload must be sent as multipart/form-dataThe URL must contain the parametersI have...
View ArticleHow do I resolve Client-side Problem with JWT unauthorized 401
I am learning Expressjs, so today i was looking at bcrypt, jsonwebtoken. so i created this after all the readings but after login the server console has this> jwt-authentication-with-mysql@1.0.0...
View ArticleGo REST API HTML Template File: Undefined API POST Route
When I search for quotes in my database in an admin page through my Go REST API, quotes show up fine with editing fields for their text, author, and category populating. However, the issue is that once...
View ArticleSharepoint/Project RestApi 0x8102006d Error via postman
My colleagues asked to figure out how to use rest api in Sharepoint (Project) on premise (not online! not sharepoint.com!).Get requests work fine with NTLM auth via Postman.Troubles started when i...
View Articlekubernetes liveness prob with database / external connectivity
We have rest api based app deployed in kubernetes cluster, planning to implemnent the liveness-prob check (http based /healthz GET endpoint).Our is app dependent on database, is it good practice to...
View ArticleCant Access Variable through Promise when using async function to fetch from...
async function LoadPortfolios() { const result = await fetch("http://localhost:8080/Investor/" + globalInvestorId +"/Portfolio", { method: 'get', headers: {'Accept': '*/*','Content-Type':...
View ArticlePagination error for rest api in azure data factory
Data preview paginationCopy Data SQLI am trying to copy some data from the rest api into the sql database but i'm only able to copy 20 items (first page) when i debug the pipeline. But there are more...
View ArticleUable to create view from models, created from complex json classes
This is my string in index method, I am trying to convert my JSON string to object of MultipleClasses and want to display in my view but unable to do that.if (response.IsSuccessStatusCode){ data =...
View ArticleSpliting the input csv based on number of users in jmeter
I have an API which implements a Hit and Miss Cache approach. It is fetching data from DB to store in the cache.I want to perform a performance test on the API where I send a unique record in every...
View ArticleREST API But Have Category
Im working on TMDB Api with .NET Core MVC. I want to list all movies on my Home page and I did , its okay. Than I need to list categories( action,horror,comedy etc) on another page like category page...
View ArticleAre there any online REST API sandbox/playground
I am looking for a quick way to spin up a very simple REST api, for testing purposes.Specifically I want to be able to handle CORS preflight requests (i.e need ability to handle the OPTIONS verb)E.g: A...
View ArticleChange encrypted password with new one via rest API [closed]
In a json profile configuration of a user in web application there is password in encrypted form: {"name": "Password","value": "{aes}006owBDbZuFbkkU3R2Hnn0V+gMCNzgVJ8g8dlBAL+Ts=" },Is there a way to...
View ArticleChange password on ESXi with REST API
I am trying to write a script in PHP that resets the root password on an ESXi ("myhost", moId="host-15458") registered to a VCSA version 8.0.2 ("myvCenter", API-Id=8.0.2.200). I have the old password...
View ArticleHow setup Date field with validation
I use adobe rest API v6. I want to send an agreement to an user with Date field and the date field should have validation. I send the following json. User can see a text field but without formatting....
View Article