Skip to main content

Questions tagged [rest]

REST (Representational State Transfer) is a style of software architecture for distributed hypermedia systems such as the World Wide Web. It has increased in popularity relative to RPC architectures such as SOAP due to the intrinsic de-coupling of client from server that comes from having a uniform interface between heterogeneous systems.

rest
0 votes
0 answers
29 views

Pagination error for rest api in azure data factory

Data preview pagination Copy Data SQL I 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 ...
Abhishek Singh's user avatar
-1 votes
0 answers
15 views

How 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 > [email protected] ...
Onwubiko Jedidiah Solomon's user avatar
1 vote
1 answer
27 views

Go 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 ...
Daggerpov's user avatar
  • 168
0 votes
0 answers
38 views

Delphi REST POST with multipart/form-data

I need to implement in Delphi a requested REST POST satisfying the following conditions: Must include a custom header Payload must be sent as multipart/form-data The URL must contain the parameters ...
Grzegorz Skoczylas's user avatar
-1 votes
1 answer
22 views

Difference 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 ...
Venu Madhav Reddy Vanga's user avatar
-1 votes
0 answers
12 views

Redis client initialization Issue in Node Js application

I have a simple backend application built with Node.js. The directory structure as below and this is GitHub Repository Link here below is the code of server.js file // server.js const express = ...
Deep Kakkar's user avatar
  • 6,169
-2 votes
0 answers
14 views

Sync discount codes in two Shopify stores

I currently manage two separate Shopify stores and I'm looking for a way to sync the discount codes between them. My goal is to ensure that whenever a discount code is created or updated in one store, ...
Fynn Menk's user avatar
0 votes
0 answers
39 views

I set a cookie on the server in the login handler, but the cookie is not set

It's my cors headers: r := chi.New Router() r.Use(cors.Handler(cors.Options{ AllowedOrigins: []string{"https://SECRET.COM", "http://SECRET.COM"}, AllowedMethods: []...
Imran's user avatar
  • 9
-2 votes
0 answers
36 views

Where to write queries in rest api, and how to secure it [closed]

I will make an application with Flutter. With Django, I will make a rest api to send data from mysql. I have never made an api before. In the tutorials I found, when I go to the api url, the whole ...
Tyrist's user avatar
  • 1
0 votes
0 answers
19 views

User ID not found in UserDefaults or invalid UUID string

I am trying to display previously created events on my calendar page using a fetch events function. I have made an api that has a route to fetch events from my database. In my database, when an event ...
AppleDev3's user avatar
0 votes
0 answers
12 views

How PUT state idempotency works after DELETE

is the following a correct way to see how Idempotent works for a REST PUT Given X is a request Context_N indicates information about the context in which the operation is execute, but do not influence ...
jleyva's user avatar
  • 96
0 votes
0 answers
23 views

How to implement a conditional one-to-one relationship with Identity/Entity Framework/ASP.NET Core

I am having trouble determining how to implement the following scenario in an ASP.NET Core Web API using Identity and Entity Framework: If an AppUser is given the Performer role when it is created, ...
user25355771's user avatar
0 votes
0 answers
9 views

Test Fails after Establishing Connection to Database

I have a repo for a node app that uses an object to store the data temporarily. I updated the code to connect to MongoDB and some of the tests start failing. The test is one with supertest. The code ...
Uzoma Nwanne's user avatar
-2 votes
0 answers
25 views

Using Spring beans inside a Rest @Controller [closed]

after migrating from spring 3 to 5 i can't do this anymore in a rest controller: @Lazy @Controller @RequestMapping("/Portability4CtRestService") public class Portability4CtRestService ...
Michele's user avatar
1 vote
1 answer
18 views

Access HTTP Trailer in Quarkus

I'm implementing a REST-API in Quarkus and want to stream the content. I want the know when the tranpsort of the stream is finished. As the http-standard describes, http-trailer fields will be sent, ...
Josef Mader-Kreiner's user avatar

15 30 50 per page
1
2 3 4 5
9