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

API Key in path

We have some IoT sensors that POST json payloads to an endpoint. They are configured with only a HTTPS URL to send to, no ability to setup authentication etc.We need basic ability to see which sensor...

View Article


Image may be NSFW.
Clik here to view.

Go file server doesn't serve folder

I am building a website with Golang, HTML, JS and CSS.Here is my folder structure:/data (Go files that contain data initialization)/handler (Go files for HTTP handling)/model (Go files that include...

View Article


API to get vehicle registration detail - API Setu

I'm trying to fetch the vehicle registration detail through an API. I did a little bit of research and found out this website is providing API for this...

View Article

pytest assert message customization with variable introspection

In the pytest documentation it says that you can customize the output message when an assert fails. I want to customize the assert message when testing a REST API method it returns an invalid status...

View Article

Image may be NSFW.
Clik here to view.

run an automated integration test on an application with multiple modules

my application has 4 nodes. Node A and Node B are the SUTs. communication between those nodes is based on http protocol. The scenario as shown in the picture will be automatically done by the nodes...

View Article


How to safely generate and store a password out of Google OAuth user data for...

I have a web app, where users sign in with Google (OAuth 2.0).This web app uses a REST API (figo.io) in the background, so I have to create an API user with credentials. Now I have the following...

View Article

Using REST API in Python to run Workflows in Azure Purview

We are trying to use Purview REST APIs to make a user request that should be able to trigger a Purview workflow run. The workflow should trigger whenever the user is trying to update an asset, for...

View Article

Use CakePHP Http Client with Magento2 rest API search criteria

I'm trying to send a GET request to a local Magento2 rest API to get all the orders after a certain time. I'm following...

View Article


Image may be NSFW.
Clik here to view.

Why am i getting 405 Method Not Allowed while doing a POST Request

I am new to the rest services. I am trying to create a service that accepts json string from a client. I am getting 405 error when I am calling this service using JQuery. Below is the Java code for...

View Article


Rest of the API for writing endpoints for clients and admin

I started writing a project in Spring Boot and faced such a problem as writing endpoints for the user and administrator.What is the best way to do it?GET online-shop/products and check every time the...

View Article

How can I get BizTalk to allow a large array in querystring for consuming a...

My problem is that I want to consume a REST service that have an array as input parameter, and I have a lot of items in the array (about 2 500 characters in total, which is allowed by HTTP protocol).I...

View Article

How to effectively connect Shopify data to BigQuery? [closed]

I am trying to connect Shopify data (orders endpoint) to Google's BigQuery to further use it in Looker Studio.There are multiple steps of how it should work, however, I am stuck at loading the data to...

View Article

JFrog REST API to Export the X-ray SBOM report

I have created the following call to export the JFrog X-ray SBOM datacurl -u $USER_NAME:$API_KEY -X POST $ARTIFACT_DOMAIN_URL/xray/api/v1/component/exportDetails \-H "Content-Type: application/json"...

View Article


Is it RESTFUL to have additional flags/keys in an object that are not part of...

I have an API to create a ticket for a given component_id, POST /api/ticket that takes an input of ("component_id", "ticket_number", "ticket_date").Now at the time of firing of this API, there is an...

View Article

Is the Nestoria API still operational in 2024? [closed]

I'm trying to use the Nestoria API for retrieving real estate listings, but I'm consistently getting "unknown location" errors even for valid locations like "London" or "Barcelona". Here is an example...

View Article


Failure of physical device to connect to correct port where flask server is...

I have a flutter application and it makes use of a REST API which is running as a flask server on port 5000 locally on my host machine but when I install the app on my physical device it seems to be...

View Article

RestSharp || Rest API Automation Testing || ExecuteAsync returning null

I am developing RestAPI automation test case using RestSharp.I am trying sample code to test the API response. Below is my code:var _client = new RestClient("https://reqres.in");var request = new...

View Article


Use access token from Azure AD app to use with sharepoint REST API

I have an Azure AD app registered and my web app requires using both graph-api and REST API to fetch sharepoint account information.For eg:https://domain.sharepoint.com/_api/Web/RoleAssignmentsProblem...

View Article

Rewrite POST method on rest api yii2

I must rewrite post request on rest yii2.Every time I've post request on URL v1/availabilityI want to call actionCreate for manage request.This is my main.php'urlManager' => ['enablePrettyUrl' =>...

View Article

REST API - How to make a script to automatize taking the GET data from my...

I have this problem and I'm a newbie of REST API world. I have a wordpress site in which i sell CD Albums, and I have to take every orders of the day and send some specific data (like the bardcode/ean,...

View Article
Browsing all 3619 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>