Category "rest"

I modify response.data in Django REST Framework view.py. Why am I getting an AttributeError during testing but not with actual API use?

My Django REST Framework API is working just as expected. In view.py, I modify OrderViewSet, def partial_update, to add another key/value pair to the response.d

How to use REST API as source for Lookup activity in Azure Data Factory

I am trying to incrementally load data from a ServiceNow data source into an Azure SQL table as per the guide from Microsoft https://docs.microsoft.com/en-us/az

Retrieveing floor price for specific filtered assets Opensea

I know how to get normal collection floor price. However I'm trying to find out how to retrieve floor price for specific filtered assets. such as, grabbing floo

rebuild my screen with future provider for specific widgets using id root

im trying to retrieve tasks from project in another words i want to rebuild my screen on viewing tasks with specific forgin key projectId i got this error while

Update list of data using REST api

hi am a beginner with flutter and am trying to build a app and in that app i want to let the user update a data that he can accede from a list so when he press

What is the difference between "rest/sql" and "rest/sqlutc" in TDengine's RESTful API

TDengine support RESTful apis, they are like "rest/sql", "rest/sqlt" and "rest/sqlutc". I know that "rest/sqlt" return timestamp as long. But I dont know what i

Rest API GET Query working fine in Browser but why is it not working in Client software?

I made my own REST API with php coding and mySQL database. There is no Authentication. Just a GET call should retrieve mySQL table rows. <?php header("Acces

Parsing empty json array as null object with GSON

I am working with some not really well designed APIs and when the object is null it returns empty array, like this: No-null response: "SourceType": { "ID": "2

Symfony rest api error with security.yaml

I'm trying to add an auth system with JWT to my REST API but since I added my system and modified my security.yaml I have those errors:

put request Angular to update entire object

I trying to do a put request to update a big object. The object is structured like this: Budget The dailygoal with the date and the percentage is displayed like

Convert JSON to different format using the javascript

I have the JSON please see below and I need help to convert changing the format mentioned below. I want to move the data to different columns (format mentioned

Amazon Connect API didn't response correctly in Postman

I am trying to test Amazon Connect Rest API in Postman. The API name is GetMetricData. In Postman, I have provided all the required information that is mentione

Amazon SQS:: Got an error while trying to create queue: NoCredentialProviders: no valid providers in chain. Deprecated

I am trying to create Amazon SQS from my local machine and facing errors like Got an error while trying to create queue: NoCredentialProviders: no valid provide

Refit 6 not working when android project built with unity

I'm using Refit 6 in unity for rest calls but when project is built for Android getting below error. Message: MissingMethodException: Constructor on type 'Refit

Nested REST API resource not found

This feels like what should be a very common question but I cannot find anything related to it. I am working on a 'REST' API with nested / sub-resources GET /us

Rest API: HTTP Status code for Informational Message

If end user not send query parameter then i want to return a message like: return Response.status(500).entity("If you wish to download whole offerings data send

Body Expectation with XPATH not working on mockserver

I am using MockServer since a short time and trying to create an expectation on the Request-Body. My Body is an XML and I am using XPath to match the Request, b

How can I validate WOPI is working on OOS on-prem using PowerShell or REST?

I'm trying to trouble shoot our on-prem OOS and read about the WopiTest framework for Office 365 at MS Docs - WOPI Validation application Does Office Online Ser

How to get the Google doc drawings through Document api or appscript

Hi I have a Google Document that has a Drawing inserted in it, Now I want to get the link of the drawing or get the blob out of the drawing and show As I use th

confusion between post and get method [closed]

I'm creating an API which accepts customerid, account number and date as json objects and returns a file whose location is mentioned in the da