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

How to call Netsuite RESTlet from salesforce or any other application?

I have created RESTlet script to perform CRUD operations. I am calling that RESTlet from Postman. I have no idea of how to call the RESTlet from salesforce or other application for integration purpose?...

View Article


Is there a way to set Tax Item field on customer record from REST web service?

I am new to fairly NetSuite and trying to create a customer record with taxitem default to "non-taxable" (one of the values) but have been unsuccessful. The idea is to be able to create sales orders...

View Article


HATEOAS: absolute or relative URLs?

In designing a RESTful Web Service using HATEOAS, what are the pros and cons of showing a link asa complete URL. e.g. http://server:port/application/customers/1234just the path. e.g....

View Article

How to get Instagram profile info API in PHP

My problem is I get Instagram id and username, but I will need full name, profile image, email etc. I get like this Array:( [id] => 123456 [username] => abc123)$code =...

View Article

Access geonode api via client

I'm encountering an issue with authentication in GeoNode and could use some help. I've enabled it by setting:LOCKDOWN_GEONODE=TrueHowever, I need to access the API (.../api/v2/...) through a client,...

View Article


Parse API - Is it possible to send push notifications via Parse API without...

I am currently developing an iOS messaging app with PHP/MySql backend. I am saving device tokens of user devices with me on server. Is it possible for me to call Parse's REST API from my server to send...

View Article

REST versioning - URL vs. header

I am planning to write a RESTful API and I am clueless how to handle versioning. I have read many discussions and blog articles, which suggest to use the accept header for versioning. But then I found...

View Article

Spring MVC - How to return simple String as JSON in Rest Controller

My question is essentially a follow-up to this question.@RestControllerpublic class TestController{ @RequestMapping("/getString") public String getString() { return "Hello World"; }}In the above,...

View Article


nodemon app crashed - waiting for file changes before starting... HOW TO MAKE...

From time to time it does happen, but restarting the node bypass this. I really don't have how to debug and see the actual error and the site needs to be online anyway.I wish to know a way to restart...

View Article


JavaScript in IntelliJ rest client

I have read most if not all of the documentation JetBrains provides about their HTTP Client and how to create requests using files with .http extension.My problem is that I want to use a function in a...

View Article

What is the correct format of the query for Search Requests to Spotify's Web API

I want to send search requests to Spotify's Web API. They have a search endpoint described in their docs. The URL query requires two parameters:type of the searched item (i.e. album or track)q which is...

View Article

Error when trying to post data to rest API using an appscript

I am struggling to write an appscript to post data to sage accounting APII am trying to save a new customer to sage accounting software through the API. When I use postman it works. I cant get the...

View Article

Ngrok link is invalid

I am new to NGROK, although I have used it before... successfully. I have a remote data server and I am using NGROK as an IP tunnel so I can access the data over the internet. The data server port is...

View Article


Testing request timeout in C# ASP.NET Core 8 Web API locally

I'm attempting to test request timeout functionality in a C# ASP.NET Core 8 Web API on my local environment.Here's my setup: in Program.cs, I've configured middleware using AddRequestTimeouts and...

View Article

Image may be NSFW.
Clik here to view.

Spring Boot: Error 404 when accessing localhost endpoint

Just to give a little background on the project; I'm making a Spring Boot project using Maven. I have a two microservices, one called "products" and one called "config-server" to configure the...

View Article


How to make Amazon AWS API call from Java?

What are my options if I want to make a call to Amazon AWS Rest API from Java.When implementing my own request, generating the AWS4-HMAC-SHA256 Authorization header would be the hardest.Essentially,...

View Article

What is the real difference between an API and an microservice?

I am learning about microservices and I don't understand what the real difference between creating a REST API and creating microservices?I’m working in Go, but my question applies over all languages.

View Article


Creating a RESTful API using Flask?

The Flask tutorial site here says that to create a RESTful API, you would write classes that extend restful.Resource, then add them to the API by:app = Flask(__name__)api = restful.Api(app)class...

View Article

Binding UICollectionView with rest API data issue

I am trying to grab images from external API and bind it to my UICollectionView & UIImageView cell with in that View. I am able to get the data and print it in the log file. However, I am not able...

View Article

What is the best approach to hooking up database in FastAPI?

I found two approaches to working with databases in FastAPI. Are there any fundamental differences? if so which approach is preferable?Approach 1This is found in official FastAPI-fullstack example...

View Article
Browsing all 3607 articles
Browse latest View live


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