Binance REST API - Placing a PHP Order (POST) via Query String
I am struggling using Binance's REST API. I have managed to get working GET request via query string such as pinging the server, ticker information, etc. My challenge now is performing POST request via...
View ArticleHTTP Status 405 - Method Not Allowed Error for Rest API
Am asking this question after doing some research. I did followed the solutions given for this kind of error but did not work for me. Any suggestions as where am going wrong in the below code.I am...
View ArticleWhy would HTTP content negotiation be preferred to explicit parameters in an...
HTTP content negotiation can be used to make client and server agree on a data format and language. Maybe you're interested in my previous question (Is HTTP content negotiation being used by browsers...
View ArticleUnable to make a valid GET call with HttpClient
I'm trying to write a simple console app to communicate to my Honeywell thermostat. They offer a free-to-use REST API that's documented here: https://developer.honeywellhome.com/ . I am having trouble...
View ArticleServlet.service() for servlet [dispatcherServlet] in context with path []...
I am learning REST Web Services, don't know a lot about it. So I am trying to create a simple application hereGetting a NoSuchMethodError when trying to save an object to a mongodb collection when I...
View ArticleDeploying Django REST API backend on AZURE
I have tried to solve how to deploy Django project on Azure, been following many tutorials but in this point i cant point whats the issue.Deploying from GitHub, deployment have been success whew times...
View ArticleWhy would a RESTful API send cookies with the API response?
The other day I got a strange warning in my client after sending requests to twitter:2018-01-12 02:32:50,162 WARN o.a.h.c.p.ResponseProcessCookies:130 - Invalid cookie header: "set-cookie:...
View ArticleColissimo REST API keep sending me bad request
I try to generate a Label from Colissimo with his REST API but when I try to send a post request I keep getting bad request,The urls I...
View ArticleServicenow Ui not getting updated with comments
I'm trying to capture the metadata of work notes for an sc_task in ServiceNow, so I'm posting work notes directly to sys_journal_field. However, I'm running into an issue where the work notes don't...
View ArticleSeeking Advice on Securing a Node.js API and SQL Database for a Small WPF...
I'm looking to provision an SQL database using services like DigitalOcean, Linode, Vultr, or AWS. For security reasons, I want to set up a Node.js API to interact with this database, as my application...
View ArticleREST API Standard for message exchange between ERP and WMS
I have been trying to find a common messaging standard similar to EDI but where the implementation is using REST APIs that can used for the exchange of information between an ERP and one or more WMS...
View ArticleSquare brackets around response JSON in Web API
I have built a C# Web API using Swagger. It's up and running at this link: https://www.vijilcomm.com/api/swagger/index.html.When I hit it, for example like...
View ArticleNon blocking REST with Spring Boot and Java 8
I need assistance.An issue with one of my endpoints timing out is causing me distress.I did some performance tweaking with SQL and other REST services I am using but it only helps a little bit.A nice...
View Articleuploading image usin api but getting broken image each time
@Path("uploads")@Produces(MediaType.APPLICATION_JSON)@Consumes(MediaType.APPLICATION_JSON)public class UploadResource extends BaseResource { private static final int DEFAULT_BUFFER_SIZE = 8192; private...
View ArticleWeb-API and polymorphic DTOs
I need some advice for my API-Design.As a example, think about the following backend implementation. There is a inheritance structure to define some more specific entities from one (abstract) common...
View ArticleAre multiple path/query string sections allowed [duplicate]
Not sure if this is the proper exchange, but here we go anyway.The rfc3986 is not entirely obvious about this. Is the following URL considered...
View ArticleGetting parameters from Zend rest controllers processing it and returning...
I am working on a restful zend-API frame work. The problem is, when a request is posted, i don't have the concept of how to get the data from the controllers into a separate class for processing and...
View ArticleHow to make post request in apache camel rest
I am new apache rest dsl with spring boot, have made following changesMain Classpackage com.javaoutofbounds.pojo;import org.springframework.boot.SpringApplication;import...
View ArticleWP REST API ERROR 401 While trying to fetch image from wp:featuredmedia
I'm trying to fetch featured image from my published post but it seems impossible! I getan error :( that's the code: function fetchSlideShow(){let endpoint =...
View ArticleHATEOAS How to link to non-HATEOAS external resources
I have a HATEOAS (HAL at https://example.com/api) backend and a SPA (Angular at https://example.com/spa) as frontend.As long as all my links are within my own API and the responses are HAL, my SPA...
View Article