Semicolon in URLs

I have a URL like that: localhost:8080/demo/ And when I call localhost:8080/demo/''''''''' It working fine. But when I try with localhost:8080/demo/;;; It not working and return HTTP code 404 Not Found. I tried with few special character # % \ ? ...
more »

2017-08-15 16:08 (1) Answers

Laravel not posting

I'm using Localhost and for some reason my laravel site isn't posting (latest version). When I hit the submit button it refreshes with GET data in the URL. I don't believe it hits store function. I'm accessing the form in the create function where i...
more »

2017-08-14 11:08 (3) Answers

Angular 4 keep http get in cache

I noticed my Angular 4 application is caching some data taken from the database when using http.get(). This problem only happens with Google Chrome, when using firefox or even edge, it doesn't happen. Basically, I have a list of purchases. When I m...
more »

2017-08-13 20:08 (0) Answers

Dynamic request's parameters in a Rest WS

I'v been asked to implement a request for a REST Web Service, with dynamic parameters. I'll explain with an example: now our request object's fields are three strings, which are taken from the controller and used to realize the business logic. Tomorr...
more »

2017-08-10 09:08 (1) Answers

fetch() does not send headers?

I am sending POST request like this from browser: fetch(serverEndpoint, { method: 'POST', mode: 'no-cors', // this is to prevent browser from sending 'OPTIONS' method post first to check for allowed methods redirect: 'follow', header...
more »

2017-08-09 15:08 (1) Answers

JSON Payload in Matlab webwrite

I am trying to send the following POST request with Matlab webwrite: POST HEADERS {"API_KEY": "abc123"} JSON PAYLOAD { "return_type": "hello", "entities": ["ent1"], "events": ["legal"], "fields": [], "filters": {}, ...
more »

2017-08-09 12:08 (1) Answers

RESTful API and bulk operations

I have a middle tier which performs CRUD operations on a shared database. When I converted the product to .NET Core I thought I'd also look at using REST for the API as CRUD is supposed to be what it does well. It seems like REST is a great solutio...
more »

2017-08-05 21:08 (2) Answers

RESTApi EndPoint GET Multiple Resources

The operation bellow retrieve of all books only the ones that are into the request. It is clearly a GET operation. From your perspective what is better ( pro/cons ) of doing those two bellow: Note: GET - api/library/2/books/ Retrieves all t...
more »

2017-08-05 09:08 (3) Answers

Spring REST 406 Http error

Edit: FIXED! No need to reply I have to create a project for school and I can't find the solution to this HTTP error that keeps coming up... I'll try to make the code as short as possible without forgetting any. I am using Spring MVC with XML conf...
more »

2017-08-03 17:08 (3) Answers

consecutive rest API http calls angular 4

i looked for answers here but found none so i will go ahead and try to explain my situation as clearly as i can in hope that i get one. Here is the situation : I am building an angular 4 SPA that consumes a rest API backend. In one of my component i...
more »

2017-07-26 10:07 (1) Answers

Confluence REST API Python: Getting 500 error

I am sending a request to create a child page. It works for the first 25 requests and then returns a Open failed (HTTPError). e = HTTP Error 400: Bad Request error. On this first time I got this message, I truncated the title string (there app...
more »

2017-07-24 23:07 (0) Answers

Protect URLs from being monitored in iOS

I am creating an app where I use an instance of NSURL to initialize and play a remote video file using AVPlayer. I was asked to not allow third-parties to monitor my app and therefore reveal the URL which leads to the video. Any idea how to protect ...
more »

2017-07-23 23:07 (0) Answers