Quantcast
Channel: Active questions tagged rest - Stack Overflow
Browsing all 3607 articles
Browse latest View live

Finding out a rest API for a supermarket? [closed]

I'm trying to build an app that can order food on shopping website like Tesco, Sainsbury, etc. There isn't anywhere online where I can find this information and I've tried to get hold of developers...

View Article


Fetch API using JS native fetch not working [duplicate]

I'd like to know why my code is not working. I'm very noob about API in JS. I'd like some help, if possible. Well, here I have my code:<!DOCTYPE html><html lang="en"><head><meta...

View Article


Tools for documenting and mapping APIs with application's user interface for...

I work on developing API services that internally call multiple micro-servicesI was looking for a tool that could help me map public facing APIs with the application's user interface (application is...

View Article

Angular Reset Password User or Password Not Found

I have an issue when user chooses forgot password. The forgot password form appears user enters email, user get's alert to check there email and user clicks link which take you to reset form. The user...

View Article

Azure Data Factory REST connector not accepting Accept header

I am using Azure Data Factory to run a pipeline that invokes REST API. For this I am using ADF REST connector. As per documentation, Accept header only takes value as application/json. But the problem...

View Article


Is it ok to create entity in GET REST controller method with name...

So, I have some task, I have to create endpoint that should getOrCreateIfNotExist. But I`m not sure, is it ok practice to create some entity in the GET request. Or I should to do another call to the...

View Article

User's password update via WordPress REST API

I'm developing an iOS app that connects a WordPress REST API with JWT. The API and the JWT plugin (JWT Authentication for WP-API) are working ok.The app login is based in WordPress user and password...

View Article

Feign Client and name from properties

I have sth like this,@FeignClient(name = "${airport.service.name}")And I have compilation error like,java.lang.IllegalStateException: Service id not legal hostname (${airport.service.name})The question...

View Article


web.reactive.function.client.WebClientRequestException: Content type...

Good day,I need to call a third party, REST Api with XML.I am using Spring WebCLient to call.I got set the content type withheaders.add(HttpHeaders.CONTENT_TYPE, MediaType.APPLICATION_XML_VALUE);the...

View Article


SQLSTATE=1H52/ SQLCODE=+462 with UPS API Tracking HTTPGETCLOBVERBOSE Request

I am new to REST API in RPGLE programming and after I get my POST Request fixed here POST Request, I know have a different problem with the GET for Tracking the UPS APIIn the ACS Run SQL Script it...

View Article

JavaScript API Response - if clause for 'null' response

Can someone assist, please, in following case:Have a .json response with person's data where, that person can or can not be assigned to some project.Below is part of response where person is not...

View Article

how to get a targetsolucion api token or create developer account

I'm trying to consume the API REST of Target Solutions or Vector solution (they are the same) in its sandbox environment.I've already read its documentations on developer site and there says that I...

View Article

Is it still possible to use the NASA Insights API for Mars weather?

I want to you the NASA Insights API to retrieve data about Mars weather.I have used their url: https://api.nasa.gov/insight_weather/?api_key=DEMO_KEY&feedtype=json&ver=1.0and it just displays a...

View Article


Why i can access dahsboard even when my login fail?

I’m having trouble with authentication where I have a Laravel backend and a Nuxt frontend. When I log in and log out successfully, everything works fine. The problem occurs when the login fails due to...

View Article

What’s the best RESTful method to return total number of items in an object?

I’m developing a REST API service for a large social networking website I’m involved in. So far, it’s working great. I can issue GET, POST, PUT, and DELETE requests to object URLs and affect my data....

View Article


Spring boot redis cache integration in filter

I have a strange issue here. I have a filter which has two filter methods one with ContainerRequestContext as param and other with both ContainerRequestContext and ContainerResponseContext as mentioned...

View Article

How to map rest resource, domain model and entity

I have a shop object where one area can only contain only one open shop.Entity model@EntityPublic class Shop{ @Id @GeneratedValue Long id; String Name; String Area; String closed;} Domain ModelPublic...

View Article


How to use netsuite API to get data on mobile device?

I want to get and post data to netsuite. I have explored on Google but I only go to know about PhpToolKit and SuiteScript. I want to create some custom modules in NetSuite and get data from netsuite...

View Article

Spring RestTemplate gives 401 Unauthorized error when sending with...

I am trying to hit one Microsoft Flow POST URL in my Spring Rest application using following code but it is giving me 401 error.My Code: @RequestMapping(value = "/hookslistner", method =...

View Article

Http 500 when getting MS Fabric workspace access details using their REST API

When using a GET to https://api.fabric.microsoft.com/v1/admin/workspaces/{workspaceId}/users with a valid and existing {workspaceId}, I'm getting a 500 htrtp error :{"requestId":...

View Article
Browsing all 3607 articles
Browse latest View live