Questions tagged as 'rest'

2
answers

Error with one many relations RestFul spring hibernate

Hello, how are you? I am putting together a small api rest ful project and using a single table without relationships works well, now if I add more tables and relationships, the json is missing. Consiguration @Configuration @ComponentScan(base...
asked by 03.03.2017 / 18:41
1
answer

Error consuming service

I have a problem when consuming a Rest service with Jquery, I have no problem with tools like Insomnia or the browser. $.ajax({ type: "GET", url: "http://sanguchi.esy.es/peoples", contentType: 'application/json', dataType: "json",...
asked by 10.08.2016 / 01:02
1
answer

Update django record in short period of time (ms)?

Greetings I hope you can help me with this topic I would really appreciate it! The situation is as follows: In my project django I have an endpoint in which the client connects makes a request to update a record in the db. The endpo...
asked by 13.09.2016 / 16:42
1
answer

Multiples data bases with django

Hello, I am trying to use several databases I have followed the documentation and several examples that I have seen but the models dissected by the router that I created are not created in any database. class dbRouter(object): """ A router...
asked by 01.09.2018 / 21:51
1
answer

HttpMediaTypeNotSupportedException

I was sending an excell through Angular2 and I was receiving the SpringBoot, the problem is when in addition to the Excell I want to send a 2nd object. When I send the second object, I miss an error. Angular Code where I declare the class and...
asked by 17.07.2018 / 13:15
1
answer

API REST WITH Spring Boot JPA AND HIBERNATE

I have a project where we are doing a restfull service with: Spring boot JPA JDBC WEB SPRING (MVC) Hibernate Well currently I do not have much experience with hibernate in the onetomany relationship. The detail is that for exam...
asked by 01.06.2018 / 08:20
0
answers

Problem in configuring CXF for SOAP and REST logging

I have SOAP and REST services in my application and I have CXF configured with spring and xml to show the logging. The SOAP services show them well, but the RESTs do not. My configuration is as follows: <cxf:bus> <cxf:features>...
asked by 10.05.2018 / 12:10
0
answers

Upload file from Angular to Java REST

I am trying to upload an FILE (image or pdf, I have not placed a restriction yet) from Angular. to a REST service built in Java, and java I get their data, the original name of the image, the size of the image, but the file is not going up .....
asked by 14.12.2018 / 17:21
1
answer

how to make a remote post from my wordpress site to an api in angular

I need to make a remote post from my wordpress site to an api in angular, in order to register from my website.     
asked by 31.03.2018 / 04:06
0
answers

Problems consuming api rest with angular 5

I have this interceptor and I have a service Interceptor import {Observable} from 'rxjs/Observable'; import 'rxjs/add/operator/do'; import { Injectable } from '@angular/core'; import { HttpInterceptor, HttpRequest, HttpHandler, HttpSentEven...
asked by 31.03.2018 / 00:37