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

Not able to use Magento REST APIs using OAuth

I am using Magento version 1.7.0.2 and trying to use Magento Rest APIs using OAuth Integration.I have installed OAuth and following is the snippet of code that I have put in root directory of Magento...

View Article


How does middleware work in chi routing in Go and what does http.Handler...

-- routes.go --package mainimport ("hotelsystem/pkg/config""hotelsystem/pkg/handlers""net/http""github.com/go-chi/chi/v5""github.com/go-chi/chi/v5/middleware")func routes(app *config.AppConfig)...

View Article


Salesforce API client [closed]

I'm starting new integration app. that will need to read and write data to and from Salesforce Org using .net C#.In the past I have used two different technologies: Salesforce.Force.ForceClient...

View Article

Images in Knowledge Rich text field not accessible in external pages

We are implementing Salesforce knowledge and obviously we do have multiple images in the Rich Text field (Description). We also have a parallel implementation to access this knowledge content from our...

View Article

Yellowfin Delphi API Integration RESTRequest not conneccting

I have a Yellowfin instance which I would like to integrate into a Delphi application. I can use an API provided by Yellowfin for the integration.When running the API in the Delphi REST Debugger or...

View Article


Using the PUGB Rest API. How to see if a player is currently online?

I can see no option related to this topic, please if someone can help me I will be really thankful.I try using the last battle played posted but it came publish 2 hours after it finished.If someone has...

View Article

WordPress REST API: Can't upload content-type image/jpeg

The WordPress REST API apparently won't let me upload a file with content-type 'image/jpeg'.If I set content-type to an empty string, I'm able to create a media item and upload an attached file (which...

View Article

Design RESTful query API with a long list of query parameters [closed]

I need to design a RESTful query API that returns a set of objects based on a few filters. The usual HTTP method for this is GET. The only problem is, it can have at least a dozen filters, and if we...

View Article


RESTFUL API: Using path parameters vs query parameters

First, I do know path parameters need to be used when you are pointing at a resource and query parameters are meant to be used when you define something that can add a "property" (or change in...

View Article


When do I use path parameters vs. query parameters in a RESTful API?

I want to make my RESTful API very predictable. What is the best practice for deciding when to make a segmentation of data using the URI rather than by using query parameters?It makes sense to me that...

View Article

REST API Best practices: args in query string vs in request body

A REST API can have arguments in several places:In the request body - As part of a JSON body, or other MIME typeIn the query string - e.g., /api/resource?p1=v1&p2=v2As part of the URL path - e.g.,...

View Article

RESTful URL design - how to query using OR between parameters

How would you design a RESTful query to support an OR operand between parameters?Let's say my resource has two fields, field1 and field2. How would you design the URL to enable the following query?"Get...

View Article

Image may be NSFW.
Clik here to view.

Is it possible to initiate OAuth flow from within an iframe?? I'm having...

I made a chrome extension that renders my website onto the page of another website using an iframe. You can open the site up as a top level site, but its made to only be functional within the context...

View Article


Token Bucket | Fatal Error: The string is not 64 bit long. PHP 8.2 | Api Rate...

Trying to use Token BucketFatal error: Uncaught bandwidthThrottle\tokenBucket\storage\StorageException:The string is not 64 bit long. in \bandwidth-throttle\token-bucket\classes\util\DoublePacker.php:...

View Article

Accessing sharepoint onedrive folder contents via python

I am trying to access the contents of a SharePoint folder. I have tried multiple APIs offered by Microsoft but all of them appear to be outdated/not working.I need to retrieve file names and contents...

View Article


REST API filter operator best practice

I am building a REST API that uses a filter parameter to control search results. E.g., one could search for a user by calling:GET /users/?filter=name%3DfooNow, my API should allow many different filter...

View Article

Access to ForeignKey fields of another model

I have project in Django Rest Framework where I need get access from Project to ProjectTemplate. But between I have Department model, so I can only connect with Department via ForeignKey. There is some...

View Article


Questions about values in API Meria, format JSON

I have a Meria API who allow me to see information like this (this is the example given by Meria, this is not mine, actually):{"success": true,"data": {"currencyCode": "KAVA","amount": 75,"reward":...

View Article

Image may be NSFW.
Clik here to view.

Error: http.Server.listen() was called more than once which is not allowed....

I am trying to deploy my app or API on shared hosting, but I keep on encountering an error that says Error: http.Server.listen() was called more than once which is not allowed.I have no idea why this...

View Article

Docker compose problem while running Java spring and postgresql application...

Dockerfile:FROM openjdk:23ADD /BankAccountMicroservice/build/libs/start-0.0.1-SNAPSHOT.jar app.jarEXPOSE 8080ENTRYPOINT ["java", "-jar", "app.jar"]Compose.yaml:version: '3.8'services: database: image:...

View Article
Browsing all 3607 articles
Browse latest View live


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