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.
153
questions
0
votes
0
answers
9
views
Spring 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 ...
0
votes
1
answer
49
views
dotNET minimal API getting 404 not found on a secure endpoint
I am trying to implement a rest api using the dotNET framework. I am experiencing a problem with the "/secure" endpoint, getting 404 as a response message whether I login or not.
If I don't ...
0
votes
1
answer
20
views
Publishing 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?
0
votes
0
answers
56
views
DataSnap - 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;
{$...
-1
votes
0
answers
26
views
How 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 ...
0
votes
0
answers
11
views
fetch 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]=parent
but when i use this API ...
0
votes
0
answers
16
views
Access denied for user 'root'@'localhost' (using password: YES). In SpringToolSuit4 [duplicate]
enter image description hereI am working on the springToolSuite4,I was creating Restful API and trying to access the database through it. I have added all the dependencies and the password used is ...
-1
votes
1
answer
20
views
Where do you set default values when registering a user? [closed]
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 ...
0
votes
2
answers
41
views
REST services: why should I bother with supporting multiple resource representations?
I'm trying to wrap my head around REST principles, and the multiple representations principle confuses me. It'd appear to me that server side could be greatly simplified by having a single canonical ...
0
votes
2
answers
43
views
Fetching products from external api supplier
I have a partner who owns a warehouse with thousands of products. We want to connect our Magento 2.4.5 store to this partner so that we can sell their products using our Magento 2 store. The partner ...
0
votes
1
answer
37
views
Get LocalDate from the @RequestBody, convert it to dd/mm/yyyy format, convert it back to LocalDate and store it in the database
I am creating a Rest API applicaton which tracks users` expenses. I have date variable of type LocalDate and the default format is yyyy-mm-dd but I want to store dd/mm/yyyy in the database
what I ...
0
votes
0
answers
30
views
ADF copy activity for REST API POST requiring string value in request body field
I have a ADF copy activity where my source is a REST API POST statement to a report process in one of our data sources. I have the parameters for the report stored in a SQL server table and I am ...
0
votes
1
answer
32
views
can not access rest API running in docker container [duplicate]
I have a REST API built in .net 8. When it runs on my machine, I can test it using Postman (http://localhost:8009/api/...) without issue. But when I running it from inside a docker container, the ...
1
vote
2
answers
36
views
can't iterate over array created in service - async issue?
I create an array of Items like this in my service:
items: IItem[] = [];
...
LoadItems() {
this.GetItems().subscribe((res) => {
// console.log(res);
if (res.status ==...
0
votes
1
answer
42
views
How to make .NET framework 4.8 versioning work with Web API
I am working on a .NET framework 4.8 Web API project and I'm trying to enable versioning on the REST API endpoints. All the endpoints are broken and I am unable to figure out what is wrong. Can anyone ...